← Back to team overview

mahara-contributors team mailing list archive

[Bug 630535] Re: 1.3RC1 CRON job for recent activities not set by default

 

Hi Mike,

The mahara cron jobs follow the same notion as the unix crontab. So
those fields are the value of that unit to run at.

That is to say that:
0 * * * *
means that refresh_feeds should run at 0 minutes past every hour

Changing the minute field to 5 would just make it run at 5 past each hour rather than at the top of the hour.
I suspect that it just takes a while for the cron to run and that everything was functioning correctly.

It may be worth re-examining your error log (Usually your Apache error
log) - unless you have debugging turned on, you shouldn't see any cron
messages, but there may be some warnings about jobs not being run
because their nextrun time was too old. Even if this were the case, you
shouldn't be seeing more than a 5-10 minute delay as missed jobs are re-
scheduled for 5 minutes after the cron run. How often are you running
cron?

You may want to have a look at the crontab manpage for more information
if you're not familiar with it (http://www.manpagez.com/man/5/crontab/).

I think I'll mark this bug as Invalid for the moment as the database
change you've made won't really have actually changed anything except
the time past the hour the job should run and I don't believe that this
is a coding bug.

** Changed in: mahara
       Status: New => Invalid

-- 
1.3RC1 CRON job for recent activities not set by default
https://bugs.launchpad.net/bugs/630535
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.

Status in Mahara ePortfolio: Invalid

Bug description:
1.3 rc 1
MySQL 5
PHP 5.26
Linux
Windows 7/64 OS


After upgrading, the new Recent Activities and Topics I'm Following wasn't updating after a day.There was plenty of activity going on. I had to go into the database and manually change blocktype_cron for recent activities. This should be set by default when installed.





References