Solved

cron jobs

Posted on 2006-11-17
3
275 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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now