LinuxQuestions.org
Review your favorite Linux distribution.
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 07-19-2012, 11:09 AM   #1
Starpoint09
LQ Newbie
 
Registered: Jul 2012
Posts: 5

Rep: Reputation: Disabled
Post Crontab not working


[root@trixbox127772 ~]# crontab -l

# Update time daily
0 2 * * * /usr/sbin/ntpdate tick.ucla.edu > /dev/null 2>&1

# Ping systems every 15 mins
*/15 * * * * /bin/nice /usr/bin/perl /var/adm/bin/ping_main.pl -randsleep

# Rotate asterisk logs daily
0 0 * * * /usr/sbin/asterisk -r -x 'logger rotate'

# Generate 5-min charts
*/5 * * * * /bin/nice -n 19 /usr/bin/perl /var/adm/bin/rrd_graph.pl
0 0 * * * /var/adm/bin/validation_check.pl &> /dev/null 2>&1
24 5 * * * perl /var/adm/bin/registry.pl &> /dev/null

30 * * * * /bin/nice -n 5 /etc/init.d/FONmon start >> /dev/null 2>> /dev/null

30 * * * * /bin/nice -n 7 /var/adm/bin/sync_linked_greet.pl >> /dev/null 2>> /dev/null
9 4 * * * /etc/webmin/cron/tempdelete.pl

1 * * * * if [ -n "$(/bin/grep Spitfire /etc/asterisk/sip.conf)" ]; then /usr/bin/perl -i.bak -pe 's/Brent Silversmith <235>//g' /etc/asterisk/sip.conf; asterisk -rx 'sip reload'; echo "[$(date)] cronjob: Removed Spitfire from callerid field in sip.conf." >> /var/log/asterisk/messages; fi



That is the result of crontab -l

The last cron tab is not working.. I cant even see any evidence of it trying to run. Can someone help me with trying to get this thing working?
 
Old 07-19-2012, 11:18 AM   #2
Starpoint09
LQ Newbie
 
Registered: Jul 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Not sure how this double posted... Please disregard this thread
 
  


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
Crontab is not working, the script is working arfal SUSE / openSUSE 6 02-08-2010 08:48 PM
crontab not working ankitsagwekar Red Hat 1 08-08-2008 05:45 AM
crontab not working mahmoud Linux - Newbie 16 07-11-2008 12:46 PM
crontab not working prashanlk Linux - General 1 05-16-2008 03:21 AM
Crontab not working Neorio *BSD 1 12-02-2003 07:34 PM

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

All times are GMT -5. The time now is 12:38 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