Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-17-2013, 11:39 AM   #1
Registered: Jul 2012
Distribution: Arch, Debian, and CentOS/RHEL
Posts: 541

Rep: Reputation: 56
cron entry - what does this mean?

Hey guys,

Can you please help me interpret what this cron entry means? What I understand is that, the script runs daily @ 08:00PM. The rest of the lines are somewhat strange to me.

0 20 * * * ( /somedirectory/ ) >/dev/null 2>&1 #+#+#+#(make_cronentry) serverx_job_15
Thank you very much!
Old 10-17-2013, 11:45 AM   #2
Senior Member
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,480

Rep: Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906
Anything after the # is a remark
Old 10-17-2013, 12:51 PM   #3
LQ Newbie
Registered: Oct 2013
Posts: 12

Rep: Reputation: Disabled
the output is redirected to null ( > /dev/null )
and the error (2) if any is directed to the output (1) which in this case is /dev/null (2>&1)
Old 10-17-2013, 02:45 PM   #4
Registered: Aug 2013
Location: Dolyestown
Posts: 88

Rep: Reputation: Disabled
Old 10-20-2013, 11:11 PM   #5
Registered: Jul 2012
Distribution: Arch, Debian, and CentOS/RHEL
Posts: 541

Original Poster
Rep: Reputation: 56
Thanks all!



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cron entry via remote ssh sunlinux Linux - Newbie 1 10-31-2011 02:47 AM
Cron ORPHAN (no passwd entry) humbletech99 Linux - General 0 02-11-2009 06:32 AM
cron entry doesn't start kpachopoulos Linux - General 3 01-29-2008 06:46 PM
will this cron entry do what I want it to? microsoft/linux Debian 4 01-12-2006 06:29 PM
Cron Entry tor updatedb? Snump Mandriva 3 10-02-2004 05:37 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration