|
#1
|
|||
|
|||
|
Well, I can't seem to get the Blesta's cron function to work. I've literally tried every supported method.
I can get it to run if I click the manual link. But apparently my crontab (CentOS 6.2) does not support something like this: php /path/to/script.php key all Is there a way to remove the key? I can also post a link to another thread on another forum of things I have tried. |
|
#2
|
||||
|
||||
|
Does it run it but not pass in the key?
You might try the full path to php, something like /usr/bin/php and enclose the parameters in single quotes. |
|
#3
|
|||
|
|||
|
It will not run with the key, and I've tried without the key as well. But, it does nothing. Blesta requires the key in order to work properly.
I can get * * * * * php /path/to/script.php >> /path/to/test_text.txt And inside the script.php says "echo 'working'" and in one minute, it shows "working" inside the txt file Is there a way to get an older working version of Blesta, without the key? All of my other scripts work in crontab. So I'm thinking its a mess of code in Blesta itself. :/ I was hoping I'd be able to try Blesta, as it was recommended by a lot of friends. Last edited by Schmarvin; 06-26-2012 at 12:54 PM. |
|
#4
|
||||
|
||||
|
Does your server have wget, GET, lynx or elinks on it? If so, you can use one of those cron methods, and have it access it via the URL just like when you click to run it manually. It will then be able to pass the key in as a get parameter to cronjob.php
|
|
#5
|
|||
|
|||
|
None of it works, oh well. I'll have to use a different billing system. As it is not fully compatible on my server. Thank you for your help though. The setup of Blesta is just too much of a pain. I thought it'd be a bit easier. Sorry for wasting your time.
|
|
#6
|
||||
|
||||
|
I'm happy to take a look at it if you want to give me proper access. There's no reason the cron shouldn't work with the key. If you'd like me to take a look, email me at sales at blesta.com (Will go directly to me) and I'll check it out.
Thanks |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP Ticket Piping cron issue - Debian Squeeze | JimmyK | General Discussion | 13 | 06-26-2012 10:31 PM |
| CGI Error on Cron settings page | voicedata | General Discussion | 1 | 03-25-2010 06:23 PM |
| cron problem after upgrade | jsonline | General Discussion | 1 | 08-18-2009 04:44 AM |