Results 1 to 4 of 4
Plz tell me if we schedule one cronjob then in how many files entry for this job will be added and plz give me the names of those files where ...
- 01-06-2011 #1Just Joined!
- Join Date
- Dec 2010
- Posts
- 6
Cron Job
Plz tell me if we schedule one cronjob then in how many files entry for this job will be added and plz give me the names of those files where entry will be added.
- 01-06-2011 #2Just Joined!
- Join Date
- Dec 2010
- Location
- India
- Posts
- 45
crontab -e allows you to edit crontab file
- 01-06-2011 #3
crontab -e only edits the logged in users crontab.
You need to decide who is going to run the event and if they have enough permission to handle the task at hand.
If it is going to be a normal user then log in as said user and use crontab -e as stated above.
If this is going to be a system event then have a look at /etc/crontab to see when the cron.hourly,daily,weekly,monthly are run and if the times are acceptable them place your script into one of those directories. If you want your script to run at a time other then those you can edit the crontab file itself and place your information there or login as root and use the above method to create the needed event.
Please remember to use Full Paths to the file to avoid cron not being able to find the file.
- 01-07-2011 #4Just Joined!
- Join Date
- Dec 2010
- Location
- India
- Posts
- 45
I was not aware about this thanks Robert for sharing this information


Reply With Quote
