Author Topic: cron returns no file or directory found  (Read 1667 times)

help

  • Posts: 8
    • View Profile
cron returns no file or directory found
« on: August 14, 2004, 01:52:07 pm »
Dean,

using the prescribed cron routine:

15 1 * * * /usr/bin/wget -O /dev/null -T 0 http://www.mysite.com/listmail/dailymail.php?pw=mypass 1> /dev/null 2> dev/null

returns:

file or directory not found.   I have full accesss to the shell via SSH and strangely have the ability to execute php script as php-cgi (which does not seem to matter).

Why is it not finding the dailymail.php file?    When manaully executing this file in a browser I get a simple message:  no messages to process.  

thanks

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
cron returns no file or directory found
« Reply #1 on: August 16, 2004, 07:49:53 am »
The first part of the command: 15 1 * * * is the timing.  The actual "command" should start with /usr/bin/wget

Have you mistakenly included the timing in the command field?
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting