dreamcatcher

msg:1297412 | 3:02 pm on May 17, 2006 (gmt 0) |
Hi omoutop, Have you tried accessing the file in your browser to see what you get? dc
|
omoutop

msg:1297413 | 6:36 am on May 18, 2006 (gmt 0) |
the file works fine through browser... anything else i should be aware of?
|
dreamcatcher

msg:1297414 | 6:41 am on May 18, 2006 (gmt 0) |
Try setting the cron tab as: php -q /home/username/www/foldername/filename.php dc
|
omoutop

msg:1297415 | 9:23 am on May 18, 2006 (gmt 0) |
the php -q /home/username/www/foldername/filename.php option didnt seem to work either.. anyway i finally managed to run the script as it was supposed to run... wget [mysite.com...] with {folder} and script_to_run.php set to 777 Thanks for the advice dc (because since you saw me i could call an exe, perhaps i could call a virtual browser (or at least this is how i understand the wget))! :)
|
jjwdesign

msg:1297416 | 3:02 pm on May 21, 2006 (gmt 0) |
You typically need two things... 1.) Path to PHP 2.) The path to the PHP script /usr/bin/php /var/www/vhosts/yourdomain.com/httpdocs/emailscript.php >/dev/null 2>&1 (all on one line) Works for me on Plesk.
|
|