PDA

View Full Version : Cron Job Limitation


torusturtle
11th July 2008, 19:47
Cron jobs introduced in 2.2.24 are a great feature.
It would be nice if they could be limited per site.

falko
12th July 2008, 12:16
How do you mean that?

Hans
12th July 2008, 20:13
The maximum number of cronjobs per site i guess..That would be nice indeed!

torusturtle
13th July 2008, 13:10
The maximum number of cronjobs per site i guess..That would be nice indeed!

Yes. That's what I ment.
Like with the Database. You can limit how many databases one can have per site.

falko
14th July 2008, 15:02
I've added this to our bugtracker.

Hans
14th July 2008, 22:57
Thank you for that! :)

vogelor
24th September 2008, 16:54
sorry, i am totally late for this thread (had no Internet for several weeks!), but i think, this doesn't make sense.

Example: i create a cronjob fired every 5 minutes. The cronjob runs a simple php-script.

this script looks like this (pseudo-code)
<?php
$minute = date('minute');
if ($minute ==5) include('job1.php');
if ($minute ==10) include('job2.php');
if ($minute ==45) include('job3.php');
...
?>

so i am able to run as many cron-job as i like by only having 1 job "installed". So your limitation doesn't work...

Olli