![]() If you've used the default editor, you can save your changes by pressingĬTRL-O followed by Enter. Of the file and add the line: wget -q -O - "" To add a cron job that makes a web request every hour, scroll to the bottom # indicating with different fields when the task will be run # Each task to run has to be defined through a single line This is what you'll see in your editor: # Edit this file to introduce tasks to be run by cron. You can create your own comments by starting lines with a hash There are some comments at the top of the crontab. Once you select your editor, you'll be editing the crontab. You should choose the default option unless you prefer a different The first time you edit a crontab, you'll be asked which editor to use. To edit a system user's crontab, run the command: crontab -e Run the command: crontab -l Editing Crontabs ![]() ![]() To view a crontab, SSH in to your server and Viewing CrontabsĮach system user has their own list of scheduled tasks. You do not need to configure cron jobs for WordPress and Drupal. WordPress and Drupal have implemented systems that will initiateīackground processing of their scheduled tasks without cron. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |