Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

cron

Posted on 2006-12-01
4
Medium Priority
?
251 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
  • 2
  • 2
4 Comments
 
LVL 45

Accepted Solution

by:
sunnycoder earned 2000 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 Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month6 days, 4 hours left to enroll

773 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