View Single Post
Old 01-23-2004, 08:25 AM  
Phrona
So Fucking Banned
 
Join Date: Nov 2003
Location: Czech Republic
Posts: 96
Cron Jobs - why doesn't this work

Sorry for that messy post, I forgot HTML is on IM posting that again:

I wrote a simple script (source: http://www.hypergals.com/gal_update.txt ). When I run it from my browser, everything works fine and without errors, but when I order cronjobs to run it every midnight, these errors occur when executed:

/home/phrona/public_html/gal_update.php: line 1: ?: No such file or directory
/home/phrona/public_html/gal_update.php: line 2: syntax error near unexpected token `'gal_today.html','gal_yesterday.html''
/home/phrona/public_html/gal_update.php: line 2: ` copy('gal_today.html','gal_yesterday.html'); ?>'

My hosting support done its best, but nothing helped. Absolute paths in the source didn't worked. Thanks for answer
Phrona is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote