Changes between Version 5 and Version 6 of faq/cron-job
- Timestamp:
- Nov 3, 2010, 6:39:24 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
faq/cron-job
v5 v6 1 1 = How do I add a cron job? = 2 2 3 A cron job is a command that runs repeatedly at a given time. Often, cron jobs are set to run tasks like updating your web site statistics once an hour, or backup your data every day, or access your Drupal installation's cron.php script on a regular basis.3 A cron job is a scheduled command that runs repeatedly at a given time. Often, cron jobs are set to run tasks like updating your web site statistics once an hour, or backup your data every day, or access your Drupal installation's cron.php script on a regular basis. 4 4 5 To set a cron job, you will need to access your server using a secure shell program. Please refer to our [wiki:secure_shell secure shell page] for information about how to run secure shell on your computer.5 To set a cron job, please click on the "Scheduled Jobs" tab in the [https://members.mayfirst.org/cp Members control panel]. 6 6 7 Once you have connected via secure shell to your primary server, you can create a cron job by typing: 8 9 {{{ 10 crontab -e 11 }}} 12 13 After typing this command, a text editor program will open, prompting you to enter your crontab information. 7 You may only assign cron jobs to users that have been granted Server Access. 14 8 15 9 The crontab syntax is a series of space separated numbers or asterisks, followed by the command you want to run. For example: