CRONTAB

From: Date: Fri, 05 Apr 2002 22:24:52 +0000
Subject: CRONTAB
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-91806@lists.php.net to get a copy of this message
Hello to all !!! I write you because I have the following question: I am attempting execute automatically an script PHP, all the days at a certain hour. I configured the cron to executes it, but when it is executed, instead of working, I receive an email in my main account where say: /home/vipteam/public_html/distribuidor/mailf.php: echoNo tinterrumpir: command not found /home/vipteam/public_html/distribuidor/mailf.php: =: command not found /home/vipteam/public_html/distribuidor/mailf.php: =: command not found /home/vipteam/public_html/distribuidor/mailf.php: =: command not found /home/vipteam/public_html/distribuidor/mailf.php: line 10: syntax error near unexpected token `Rand(1 ' /home/vipteam/public_html/distribuidor/mailf.php: line 10: ` $codigo1 = rand(10000,32767); ' I think that the code is not interpreted. I don't know what happen! Help, please! Regards! Julián

« previous php.general (#91806) next »