Solved

cron jobs

Posted on 2006-11-17
3
276 Views
Last Modified: 2010-04-20
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
Comment
Question by:Sabrin
  • 2
3 Comments
 

Accepted Solution

by:
mkisiu earned 250 total points
ID: 17967945
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
 
LVL 14

Expert Comment

by:ygoutham
ID: 17970570
man 5 crontab
0
 
LVL 14

Assisted Solution

by:ygoutham
ygoutham earned 250 total points
ID: 17970573
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Remove a folder in Linux 9 104
android secure ftp 3 38
ignore other .htaccess 2 45
Linux mount of Windows Shared Now Fails 8 22
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question