|
#1
|
|||
|
|||
|
Hi.
I'm checking out blesta, and so far liking it! However, it seems I can't get the crons to work. My folder structure looks like the following: Code:
/home/vvandaal
/cron
/public_html
/client (directory with all blesta files)
/uploads
And when I manually ran php -q /home/vvandaal/public_html/client/cronjob.php KEYHERE all or do the wget command, it returns no errors or any output. Also when I manually run the cron, no errors.... In any case the "cron last ran" keeps saying "unknown". So I believe it's not working. Code:
root@srv01 [/home/vvandaal]# cat /etc/redhat-release CentOS release 6.3 (Final) Last edited by VincentvDaal; 07-13-2012 at 06:54 PM. |
|
#2
|
||||
|
||||
|
Definitely sounds like it's not running properly. Check your Cron Directory path under Settings > API/Cron Settings. It should be the full path to the cron directory, likely...
/home/vvandaal/cron/ If that is correct and you still don't get any output, edit inc/config.php and set error_reporting(0); to error_reporting(E_ALL & ~E_NOTICE); and try again.. you should get some type of error. If you don't, you might need to update the same in your php.ini. |
|
#3
|
|||
|
|||
|
Wow...why didn't I think of that :-)
'Doh. I'm checking right now what's exactly going on but seems my PHP needs a recompile. |
|
#4
|
|||
|
|||
|
Now this is odd...
I'm going to explain exactly how I setup blesta: I downloaded the "ionCube php 5.3" file through wget and then extracted it through tar. You might be interested to know how the "cronjob.php" file looks like then: Note, I am not trolling here, it was all on one line :P PHP Code:
I've opened up the file, applied some code formatting and now it works. PHP Code:
It's working great now! ![]() Strange huh? :-) |
|
#5
|
||||
|
||||
|
Glad it's working!
Not sure why it ended up all on one line for you, pretty strange. |
![]() |
| Bookmarks |
| Tags |
| cronjob |
| 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 |
| Cron Setup | richwalker | Blesta Related | 1 | 07-01-2011 02:11 AM |
| CGI Error on Cron settings page | voicedata | General Discussion | 1 | 03-25-2010 06:23 PM |