FAQSearchMemberlistRegisterLog in
The time now is September 9, 2010, 12:15 pm
ATS Project Forum Index  Proen
Problem with cron running tmcron.php

May 2, 2006, 03:10:33  
Guest
Hi

I installed the script and everything worked fine, made a cronjob w usr/local/bin/wget -q http://mysite.com/tmcron.php.
ATS Script says cron is running every minute but in the root dir on my server its making a empty file tmcron.php, tmcron.php1 tmcron.php2 e.t.c every minute.

I tried using php instead of wget in the tab but all it does is spitting errors in tmcron.php
"PHP Fatal error: Call to undefined function: filewrite() in /usr/www/fredzeli/mysite.com/htdocs/tmcron.php on line 29" e.t.c and script says cron doesent run.

Any clues?

Gustaf
May 2, 2006, 03:18:28  
ATS
Join Date: 17 Mar 2006
Location: Russia
Posts: 839
Hi
Try to change the cron command to 'usr/local/bin/wget --spider -q http://mysite.com/tmcron.php'
May 2, 2006, 03:30:22  
Guest
That was fast
That command worked like a charm

Many Thanks to you

Gustaf

      

Home | Demo | User's Manual | Terms | Download | Forum | Contact | Links | Preview