Cron Job Limitation

Discussion in 'Feature Requests' started by torusturtle, Jul 11, 2008.

  1. torusturtle

    torusturtle Member

    Cron jobs introduced in 2.2.24 are a great feature.
    It would be nice if they could be limited per site.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    How do you mean that?
     
  3. Hans

    Hans Moderator Moderator

    The maximum number of cronjobs per site i guess..That would be nice indeed!
     
  4. torusturtle

    torusturtle Member

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

    falko Super Moderator Howtoforge Staff

    I've added this to our bugtracker.
     
  6. Hans

    Hans Moderator Moderator

    Thank you for that! :)
     
  7. vogelor

    vogelor New Member

    i dont think this make sence

    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
     

Share This Page