Results 1 to 2 of 2
Hello all,
Could anyone tell me how is configured a script in this directory to run every 5 minutes?
THanks in advance...
- 10-25-2006 #1Just Joined!
- Join Date
- Oct 2006
- Posts
- 6
cron.d configuration
Hello all,
Could anyone tell me how is configured a script in this directory to run every 5 minutes?
THanks in advance
- 10-25-2006 #2
Depending on what you're trying to do exactly, it may be a better approach to just add this to the crontab of the user you want the job to run as.
Seefor how to edit a user's crontab, andCode:man 1 crontab
to see how to create your cronjob correctly.Code:man 5 crontab
Example:This runs my nightly-backup script at 4:05 a.m. every day.Code:[hector@troy ~]$ crontab -l 5 4 * * * /usr/home/hector/.cronjobs/nightly-backup


Reply With Quote