Cron Monitor Support Forum

Support forum for my Cron Monitor module. http://www.boonex.com/m/cron-monitor

https://www.deanbassett.com
Quote · 27 Jan 2014

Hey-

I just installed...

Got the following error...

Parse error: syntax error, unexpected T_IF, expecting '{' in /home/singlebk/public_html/periodic/cron.php on line 113

I attached my cron.php for a lil help.

Thanks!

Peer

cron.php · 4.1K · 377 downloads
Peer L. Plaut Executive Director, Single Booklovers Connecting Bookworms Since 1970
Quote · 17 Mar 2014

 

Hey-

I just installed...

Got the following error...

Parse error: syntax error, unexpected T_IF, expecting '{' in /home/singlebk/public_html/periodic/cron.php on line 113

I attached my cron.php for a lil help.

Thanks!

Peer


You inserted it in the wrong spot.

Original code. in that area.

function runJob($aJob)
{

You inserted the new code before the starting {

Should have been after.

So should be this at that location.

function runJob($aJob)
{
// Deano Cron Job Last Run - Start
if (BxDolRequest::serviceExists('cron_monitor', 'check')) {
    $oDb = new BxDolDb();
    $sQuery = "UPDATE `sys_cron_jobs` SET `lastRun` = '" . time() . "' WHERE `id` = '" . $aJob['id'] . "';";
    $oDb->query($sQuery);
}
// Deano Cron Job Last Run - End


https://www.deanbassett.com
Quote · 17 Mar 2014

Just to be sure it was not a problem with my instructions. I just checked them. The instructions are accurate.

https://www.deanbassett.com
Quote · 17 Mar 2014

thanks :)

Its that trying to do more than one thing... :)

P.

Peer L. Plaut Executive Director, Single Booklovers Connecting Bookworms Since 1970
Quote · 18 Mar 2014

Deano-

I don't have time to work on this.

Do you have a store item where I can pay you to edit the file?

Thanks!

Peer

Peer L. Plaut Executive Director, Single Booklovers Connecting Bookworms Since 1970
Quote · 18 Mar 2014

I edited the one you attached and reattached it.

cron.php · 4.1K · 433 downloads
https://www.deanbassett.com
Quote · 18 Mar 2014

Deano-

Thanks for yet another wonderful product. 

One of my jobs is not working. See below.

modules 03-23-2014, 12:00 AM
Failed

I realize this does not tell us much... :)

I know you don't work no this type of thing, but where should I start?

Peer

Peer L. Plaut Executive Director, Single Booklovers Connecting Bookworms Since 1970
Quote · 24 Mar 2014

It's running. The main cron is running so it's kinda pointless for my module to list each of them individually. Which will be removed in the next version.

I was monitoring it for over a day. And yesterday it was Ok for a short time. I think that cron job is set for a run time that exceeds 24 hours. So your seeing a glitch. A bug in my module that calculates the run time.

I have already started on a new version that will no longer show a individual status for each cron but will rather show the run schedules instead.

I have determined that showing individual status is pointless because if cron is running then all of the jobs will run. It's just a matter of when and in this case that job is falling outside the range my module assumes for it's calculations. But it is running.

https://www.deanbassett.com
Quote · 24 Mar 2014

Deano- sure!

Thanks for your help!

Just post something here when it is ready :)

P.

Peer L. Plaut Executive Director, Single Booklovers Connecting Bookworms Since 1970
Quote · 24 Mar 2014

Deano-

Do you have an update on this yet?

Thanks!

Peer

Peer L. Plaut Executive Director, Single Booklovers Connecting Bookworms Since 1970
Quote · 17 Apr 2014

No. I have not had a chance to get to it yet.

https://www.deanbassett.com
Quote · 18 Apr 2014

OK- thanks!

Just checking... :)

Peer

Peer L. Plaut Executive Director, Single Booklovers Connecting Bookworms Since 1970
Quote · 22 Apr 2014

Version 1.0.1 Released.

Note: This new version does not required any source code changes, so if your
currently running version 1.0.0 then you must remove the source changes. Removal instructions are included with the module as part of the install instructions.

-------------
VERSION 1.0.1
-------------
May 5, 2014 - Removed code changes in cron.php
May 5, 2014 - Changed layout. Now shows next run time.
May 6, 2014 - Added interval checking.


NOTE: Version 1.0.1 and up now reports how often the cron is running. (Interval)

However it is not possible with 100% accuracy to determine the exact interval. This is due to the fact that servers have more then just dolphins cron job to run. The server itself has scheduled tasks as well. This can affect the time in which the job is run which in turn skews the calculations. It is accurate enough to determine if your cron jobs are running at 1 minute intervals as recommend by dolphin.

https://www.deanbassett.com
Quote · 6 May 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.