LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-01-2017, 08:37 PM   #1
sniper8752
Member
 
Registered: Oct 2012
Posts: 564

Rep: Reputation: Disabled
Not seeing cronjob listed in log


I have the following cronjob (sudo crontab -l to produce this):

Code:
22 04 * * * /usr/local/bin/pulledpork.pl -c /etc/snort/pulledpork.conf -l
Here is what is in my /var/log/syslog when I grep CRON:

Code:
Jun  1 18:58:42 ubuntu-server cron[984]: (CRON) INFO (pidfile fd = 3)
Jun  1 18:58:42 ubuntu-server cron[984]: (CRON) INFO (Running @reboot jobs)
Jun  1 19:09:01 ubuntu-server CRON[9950]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Jun  1 19:17:01 ubuntu-server CRON[10121]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun  1 19:39:01 ubuntu-server CRON[10447]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Jun  1 20:09:01 ubuntu-server CRON[10602]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Jun  1 20:17:01 ubuntu-server CRON[10719]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun  1 20:39:01 ubuntu-server CRON[10768]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Jun  1 21:09:01 ubuntu-server CRON[11081]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Jun  1 21:17:01 ubuntu-server CRON[11270]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
 
Old 06-01-2017, 09:10 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
This is one of those RTFM moments but it should be obvious

http://alvinalexander.com/linux/man/...-format-syntax

Last edited by michaelk; 06-01-2017 at 09:13 PM.
 
  


Reply



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
how to create a log file for a cronjob? hruday Linux - Newbie 3 06-11-2015 07:30 AM
Not listed in fedora's log in screen. kirba Linux - Newbie 5 11-06-2012 07:53 PM
In Apache server, How to change log file location and log format for access log fil? since1993 Linux - Server 1 08-19-2009 04:14 PM
Opennms Logs - where are web.log, web_rtc.log and webauth.log referenced? not_much_of_a_guru Linux - Networking 0 07-12-2006 10:28 AM
Listed partition in cfdisk, but not listed in /dev? Erik_the_Red Linux - Newbie 7 08-05-2005 11:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:29 PM.

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