LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-17-2005, 07:00 PM   #1
hendrixx
Member
 
Registered: Aug 2003
Location: Netherlands
Distribution: SuSE 10 Pro
Posts: 43

Rep: Reputation: 15
cron NOT running php script ??!!


Hi all,

I have a little problem with a cron job.
I have a php script wich i would like to run once every midnight at 00:05
Problem is that if i put this in with the crontab -e it does not run (correctly)
However if i use the exact same command from console logged in as the same user it runs perfectly.
Any idea's what i am missing ?

This is the command line i am using in crontab -e :

Code:
05 00 * * * /usr/local/bin/php -q /var/www/html/mohstats047/mohstats.php /var/www/html/stats/qconsole.log
I have also a little perl script scheduled at 00:06 every day wich is running fine.


.....Jimmy
 
Old 01-19-2005, 05:29 AM   #2
hendrixx
Member
 
Registered: Aug 2003
Location: Netherlands
Distribution: SuSE 10 Pro
Posts: 43

Original Poster
Rep: Reputation: 15
Anyone ?
 
Old 11-15-2006, 07:18 AM   #3
dieduster
LQ Newbie
 
Registered: Dec 2005
Distribution: Mandriva, Fedora Core
Posts: 7

Rep: Reputation: 0
qwerty

some help here please?
 
  


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 08:09 AM
cron NOT running php script ??!! hendrixx Programming 1 01-19-2005 05:36 AM
cron error when running script? meeble Linux - Software 3 09-09-2004 05:00 PM
running a 'dcop' script from 'cron' dsunger Linux - Software 0 05-10-2004 01:17 AM
script not running correctly off cron wedgeworth Linux - Software 3 10-14-2003 08:30 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration