| How to setup scheduled tasks on web server |
Print this page
|
Sometimes web developer or web server administrator needs to execute exactly the same server commands regularly. It could be backup procedures, data transfer jobs or any others.
That problem can be resolved using CRON time-based scheduling service. CRON is driven by a configuration file named CRONTAB that specifies shell commands to run periodically on a given schedule. To manage CRON you need have shell access to web server (if you don't have access to shell at web server — you can use Web Console).
Below you can find detailed instructions to setup scheduled tasks on web server:
To find more information about crontab command-line parameters just execute following shell command:
Or if you want to read manuals — execute following shell commands:
shell> man crontab
shell> man cron
Using that technology you can execute periodically any shell commands. For example, MySQL database backup or archivate web site content. / Any republication of website content required direct track back link /
|