Examples of using cron.


Below are examples of tasks for cron. We hope this information will help you better understand the work of this program.


# perform the task once an hour in 0 minutes
0 */1 * * * /home/u12345/script.pl

# perform a task every three hours in 0 minutes
0 */3 * * * /home/u12345/script.pl

# complete the task on Mondays at 1:15 a.m.
15 1 * * 1 /home/u12345/script.pl

# complete the task on April 5 at 0:1 every year
1 0 5 4 * /home/u12345/script.pl

# complete the task on Friday the 13th numbers at 13 hours 13 minutes
13 13 13 * 5 /home/u12345/script.pl

# perform the task monthly on the 1st at 6 hours 10 minutes
10 6 1 * * /home/u12345/script.pl