Solved

cron jobs

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.:

809 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