phpBB

Development Discussion Board

phpBB's testing ground of bleeding edge code
Advanced search

cron jobs

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The next feature release of phpBB 3 will be 3.1/Ascreaus followed by 3.2/Arsia.

cron jobs

Postby Rallix » Wed May 16, 2012 8:22 pm

Just out of curiosity, why do we have our current system as opposed to the more simple use of actual crime jobs?

I fitted my board with crime jobs after a while of messing with our alternative, and it's much easier.
I'm aware of the break in API and of server compatibility, but it seems still like such a good option even with said errors.
working on a phpBB wiki mod and looking for a partner, PM me if interested
(I'm looking for someone with lots of experience involving BBcode, MODX, and permissions construction)
Rallix
Registered User
 
Posts: 15
Joined: Wed May 16, 2012 1:48 am

Re: cron jobs

Postby DavidIQ » Thu May 17, 2012 12:34 am

Title says cron jobs...actual post says crime jobs... :lol:

I thought about it as well when I first started working on 3.0 then as I worked with more and more client forums I realized that not everyone has access to cron jobs especially those on shared hosting. I assume that the cron job can be set up to point at the cron.php file but not sure how that would work without the various parameters it takes.
Image
User avatar
DavidIQ
MOD Team Leader
MOD Team Leader
 
Posts: 753
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth

Re: cron jobs

Postby A_Jelly_Doughnut » Thu May 17, 2012 12:44 am

Oleg wrote some code to allow phpBB cron to be, well, cron, rather than virtualized cron. I think it has been merged for Ascraeus, but I didn't check just this moment.
A_Jelly_Doughnut
User avatar
A_Jelly_Doughnut
MOD Team
MOD Team
 
Posts: 1751
Joined: Wed Jun 04, 2003 4:23 pm

Re: cron jobs

Postby Erik Frèrejean » Thu May 17, 2012 12:07 pm

A_Jelly_Doughnut wrote:Oleg wrote some code to allow phpBB cron to be, well, cron, rather than virtualized cron. I think it has been merged for Ascraeus, but I didn't check just this moment.

It is.
Available on .com
Support Toolkit developer
User avatar
Erik Frèrejean
Registered User
 
Posts: 207
Joined: Thu Oct 25, 2007 2:25 pm
Location: surfnet

Re: cron jobs

Postby Oleg » Thu May 17, 2012 1:06 pm

Rallix wrote:Just out of curiosity, why do we have our current system as opposed to the more simple use of actual crime jobs?

Shared hosting, where you don't have actual "crime" jobs.

In 3.1 you can run cron.php via cron and it will work correctly.

In 3.0 most things will work correctly but there is one action I believe that requires a list of forums to be passed in which won't work without manual modifications.
Oleg
3.1 Release Manager
3.1 Release Manager
 
Posts: 1150
Joined: Tue Feb 23, 2010 2:38 am

Re: cron jobs

Postby Meis2M » Thu May 17, 2012 3:05 pm

what is cron?
In 3.1 you can run cron.php via...

what means that
User avatar
Meis2M
Registered User
 
Posts: 213
Joined: Fri Apr 23, 2010 10:18 am

Re: cron jobs

Postby DavidIQ » Thu May 17, 2012 3:08 pm

http://en.wikipedia.org/wiki/Cron

cron.php is the file that deals with all cron tasks in phpBB.
Image
User avatar
DavidIQ
MOD Team Leader
MOD Team Leader
 
Posts: 753
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth

Re: cron jobs

Postby Rallix » Fri Jun 08, 2012 10:03 pm

Meis2M wrote:what is cron?
In 3.1 you can run cron.php via...

what means that


cron (sorry about the typos, I was typing that on a phone with autocorrect :lol: ) jobs are routine server processes that runs every interval, defined in a thing called a crontab, which can be edited to send you emails. editing the crontab with the cron job is a terrible idea, btw
cron.php is a psuedo-cron job file, in the main folder of the phpbb installation.

I see about the hosting problem, and I suppose the virtualization works well then, my bad
and centralizing it on another server is an awful idea, let's not even go there, we're adding new dependencies in 3.1 anyway
working on a phpBB wiki mod and looking for a partner, PM me if interested
(I'm looking for someone with lots of experience involving BBcode, MODX, and permissions construction)
Rallix
Registered User
 
Posts: 15
Joined: Wed May 16, 2012 1:48 am


Return to [3.x] Discussion

Who is online

Users browsing this forum: No registered users and 22 guests