![]() |
Run php script in cron ? - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Development Area (/forum-1.html) +--- Forum: General discussion (/forum-11.html) +--- Thread: Run php script in cron ? (/thread-614.html) |
Run php script in cron ? - Eminos - 05-20-2007 02:33 AM Hi there, I'm using WHMCS as a billing solution. To use the automation stuff I need to add a line to cron. I can choose between adding this: php -q /var/www/virtual/somedomain.net/htdocs/whmcs/admin/cron.php and this: 0 9 * * * GET http://www.somedomain.net/whmcs//admin/cron.php Somehow the first options seems to be the better choise. But when I try running "php" I get: -bash: php: command not found I guess I need to install some stuff to get the php from command line working, right ? /E RE: Run php script in cron ? - MrLight - 05-20-2007 03:48 AM Did You install php-shell? (not php-cgi...)? Mr Light RE: Run php script in cron ? - Eminos - 05-20-2007 03:50 AM noop, probably didn't ![]() Will try it out, thanks. /E RE: Run php script in cron ? - raphael - 05-20-2007 04:06 AM Hint: Debian package name is php[4|5]-cli |