Solved

cron

Posted on 2006-12-01
4
248 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 Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Fine Tune your automatic Updates for Ubuntu / Debian
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

635 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