LinuxQuestions.org
Visit Jeremy's Blog.
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 09-17-2004, 10:16 PM   #1
sheikhsa
LQ Newbie
 
Registered: Aug 2004
Posts: 25

Rep: Reputation: 15
cron is making problem


i have added a script in cron and it was working fine, after a week, it is not working, cron deamon is running. but the log file show that:
Sep 16 11:51:00 mail CROND[32264]: (root) CMD (/usr/share/squirrelmail/plugins/vacation/last_vac.cron 2>/dev/null)
Sep 16 11:52:00 mail1 CROND[32756]: (root) CMD (/usr/share/squirrelmail/plugins/vacation/last_vac.cron 2>/dev/null)
Sep 17 14:15:40 mail1 crontab[15769]: (root) LIST (root)
Sep 17 17:27:39 mail1 crontab[2692]: (root) LIST (root)

WHAT TO DO!
 
Old 09-18-2004, 05:06 AM   #2
micxz
Senior Member
 
Registered: Oct 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
What's the problem here? Were is the error?
 
Old 09-20-2004, 01:11 PM   #3
sheikhsa
LQ Newbie
 
Registered: Aug 2004
Posts: 25

Original Poster
Rep: Reputation: 15
the problem is: cron do not updating my script. it is not working. while it was working before 1 week but now it is not.
i do not understand why... while log file shows above results.
 
Old 09-20-2004, 02:32 PM   #4
micxz
Senior Member
 
Registered: Oct 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
Quote:
cron do not updating my script. it is not working
Can you verify the script is deleting the attachments files. This is all it does anyhow. Maybe there are no more files in there to delete?

How about making it "last_vac.cron 2>/usr/bin/logger" Then you can watch the output in /var/log/messages?
 
  


Reply


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
shell script using /etc/cron.hourly to execute cron.php file? rioguia Programming 3 06-11-2008 09:09 AM
cron problem dar28ek Linux - Newbie 4 07-10-2005 01:27 PM
Cron problem vasco1984 Linux - Software 5 11-22-2003 12:07 PM
[cron][mdk9.1]cron deamon seems to ignore some task... yannrichet Linux - Newbie 5 06-26-2003 10:57 AM
dual entries in cron log for cron.daily cpharvey Linux - General 3 02-27-2003 03:30 PM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration