RSS

Tag Archives: cronx

Setting CronJobs

This is the pattern for cronjob setting on linux server:

Minute Hour Day-of-Month  Month-of-Year  Day-of-Week   Command

0 0 * * * D:/xampp/php -q D:/xampp/htdocs/dolfin/periodic/cmd.php
(every day)

*/10 * * * * D:/xampp/php -q D:/xampp/htdocs/dolfin/periodic/notifies.php
(every 10 mins)

* * * * * echo “This is an example of cron command”
(execute after every minute)

0 18 * * * sh /home/user1/take_backup
(take_backup at 6:00 PM every day)

10,30,50 9-18 * * 1-6 cp /home/user1/display
(every day from MON to SAT display execute every 20 mins from 9:00 AM to 6:00 PM)

Advertisements
 
Leave a comment

Posted by on March 20, 2008 in Uncategorized

 

Tags: , , , , ,