Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 285
  • Last Modified:

cron jobs

hello,
can someone please tell me the time of each one of these cron jobs

01 * * * * /home/urs/host/ping1
02 4 * * * /home/urs/host/ping2
22 4 * * 0 /home/urs/host/ping3
42 4 1 * * /home/urs/host/ping4
0
Sabrin
Asked:
Sabrin
  • 2
2 Solutions
 
mkisiuCommented:
I believe that:
1. run ping1 one minute past every hour
2. run ping2 every 4:02 am
3. run ping3 every Sunday at 4:22 am
4. run ping4 every first day of month at 4:42 am

cheers
Mkisiu
0
 
ygouthamCommented:
man 5 crontab
0
 
ygouthamCommented:
the fields in crontab (the first 5) are like this

first = minute
second = hour of day (can take 24 hour format 0 & 24 are the same)
third = date in month (1 to 31)
fourth = month (1 to 12)
fifth = day of week (0 to 7 where 0 & 7 indicate Sunday)
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now