Solved

cron

Posted on 2006-12-01
4
246 Views
Last Modified: 2010-04-20
hello,
I wanted to make sure this is right!
and the the cron will rung every 6 hours
sample
4:16pm
10:16pm
4:16am
and so on!

16 */6 * * * joey /usr/bin/somecommand >> /dev/null 2>&1
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
  • 2
4 Comments
 
LVL 45

Accepted Solution

by:
sunnycoder earned 500 total points
ID: 18052120
Hi Sabrin,

Yes that is correct ... Task will run 16th minute of every 6th hour from start.

Cheers!
sunnycoder
0
 

Author Comment

by:Sabrin
ID: 18052132
how can I make it run like this?
6pm
12am
6am
12pm
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 18052149
16 0,6,12,18 * * *
0
 

Author Comment

by:Sabrin
ID: 18052161
thanks
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
postfix start error! 9 86
SSH setup on ASA 5505 17 126
CentOS Backup Options 3 68
PartedMagic Secure Erase 14 33
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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.:

752 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