cron

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
SabrinAsked:
Who is Participating?
 
sunnycoderConnect With a Mentor Commented:
Hi Sabrin,

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

Cheers!
sunnycoder
0
 
SabrinAuthor Commented:
how can I make it run like this?
6pm
12am
6am
12pm
0
 
sunnycoderCommented:
16 0,6,12,18 * * *
0
 
SabrinAuthor Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.