ZURINET
asked on
cronjob cannot run
Hi all I need to setup a conjob on FreeBSD
The command I need to run is.. see below
I am getting the error = php5: not found
I am just woundering if there is a syntax error within this command.
Thanks for your help
ps
the local config file is /usr/local/php53/etc/php-p rofiles/ph p53/standa rd/php.ini
The command I need to run is.. see below
I am getting the error = php5: not found
0,15,30,45 * * * * cd /home/smallwor/www/mydomainproject.ch/SwiftRiver; php5 index.php --uri=process >> application/logs/process.log 2>&1
I am just woundering if there is a syntax error within this command.
Thanks for your help
ps
the local config file is /usr/local/php53/etc/php-p
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hello ZURINET,
see if following helps you.
http://forums.freebsd.org/showthread.php?t=10256
http://www.freebsdblog.org/6/cron-job/
Thank you.
Amar Bardoliwala.
see if following helps you.
http://forums.freebsd.org/showthread.php?t=10256
http://www.freebsdblog.org/6/cron-job/
Thank you.
Amar Bardoliwala.
For example:
#!/usr/www/cgi-bin/php5.cg
<?php