Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 05-01-2004, 02:15 AM   #1
Registered: Oct 2003
Location: Sydney OZ
Distribution: Mint 18 Sarah
Posts: 48

Rep: Reputation: 15
Question Help with Cron commands


I have a php program on a Linux server with the only access to anything via CPanel. I have senbt a CRon job to work and I get the notification emails however I get this message everytime..

/bin/sh: line 1: 0: command not found

The Subject of the Notification Email is..

Cron <website@uluru> 0 */3 * * * /home/website/public_html/updatetmdb

Th is the ipdatemdb file refered to..



Any ideas whu it doesn't worek and why I get this message ?


Old 05-01-2004, 03:07 AM   #2
Registered: Sep 2003
Location: Paris, France
Distribution: Arch x86_64
Posts: 221

Rep: Reputation: 30
Did you check the filenames for mistyping (there are a few in your post : updateTmdb / Ipdatemdb... :-\ )
Old 05-03-2004, 04:07 PM   #3
LQ Newbie
Registered: Apr 2004
Location: Brussels, Belgium
Distribution: Gentoo with 2.6.8-kernel
Posts: 15

Rep: Reputation: 0
I believe you need to add some space between your php call like this
/usr/local/bin/php  /home/website/public_html/getdata.php


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
[Torrent] CRON and Console commands Tanc Linux - Newbie 1 05-26-2005 12:00 PM
No mail in Solaris Cron commands markraem Solaris / OpenSolaris 1 01-05-2004 03:11 PM
[cron][mdk9.1]cron deamon seems to ignore some task... yannrichet Linux - Newbie 5 06-26-2003 09:57 AM
dual entries in cron log for cron.daily cpharvey Linux - General 3 02-27-2003 02:30 PM > Forums > Linux Forums > Linux - Newbie

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