Current time: 05-08-2024, 08:44 PM Hello There, Guest! (LoginRegister)


Post Reply 
Run php script in cron ?
Author Message
Eminos Offline
Junior Member
*

Posts: 159
Joined: Jan 2007
Reputation: 0
Post: #1
Run php script in cron ?
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
05-20-2007 02:33 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Run php script in cron ? - Eminos - 05-20-2007 02:33 AM
RE: Run php script in cron ? - MrLight - 05-20-2007, 03:48 AM
RE: Run php script in cron ? - Eminos - 05-20-2007, 03:50 AM
RE: Run php script in cron ? - raphael - 05-20-2007, 04:06 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)