Web Hosting Talk







View Full Version : phpadsnew


WLHosting
08-17-2003, 12:37 AM
Hello, I am having a little crazy time figuring out the cron for phpadsnew. I believe that I am getting an error in due to the email that the cron sends me. The contents are as follows if somebody can help. Thanks!

/home/wlscript/public_html/adverts/maintenance/maintenance.php: ?php: No such file or directory
/home/wlscript/public_html/adverts/maintenance/maintenance.php: : command not found
/home/wlscript/public_html/adverts/maintenance/maintenance.php: /************************************************************************/: No such file or directory
/home/wlscript/public_html/adverts/maintenance/maintenance.php: /backup: is a directory
/home/wlscript/public_html/adverts/maintenance/maintenance.php: /backup: is a directory
/home/wlscript/public_html/adverts/maintenance/maintenance.php: /backup: is a directory
/home/wlscript/public_html/adverts/maintenance/maintenance.php: line 7: syntax error near unexpected token `(c'
/home/wlscript/public_html/adverts/maintenance/maintenance.php: line 7: `/* Copyright (c) 2000-2002 by the phpAdsNew developers */'

kostagr33k
08-22-2003, 05:20 PM
Whats the Crontab syntax?

Kosta

WLHosting
08-22-2003, 09:55 PM
Well I finally got it to run. I used the following command:
lynx -dump http://www.xxxxx.com/xxx/maintenance/maintenance.php