Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

cron jobs

Posted on 2006-11-17
3
Medium Priority
?
283 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Accepted Solution

by:
mkisiu earned 1000 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 1000 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

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
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…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

719 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