Solved

cron

Posted on 2006-12-01
4
244 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 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

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 …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

772 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