Outside the Cube (31)
Web publishing (134)
About this site
Links to us
General :: Linux
General Linux help.
This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.
Generated 8:00:34 on Aug 11, 2020
How do I set up a cron job?
Question: How do I set up a cron job? (compare to the Windows scheduler)
Answer: You can set up cron jobs with the "crontab" command from the shell.
- crontab -l will show you your currently set up cron jobs on the server.
- crontab -r will delete your current cron jobs.
- crontab -e will allow you to add or edit your current cron jobs by using your default text editor to edit your "crontab file".
If your web host does not allow you to use the crontab command and / or you do not want to (or cannot) edit the crontab file (which is usually /etc/crontab, then you might find that there are subdirectories
where you can add your job as a shell script in the appropriate directory. (This is the case if your host uses the ensim environment.)
This still requires that you have write privilege in these directories.
|Most recent comments