Cron Manager 2.0

Automate script execution

Cron Manager is a simple passive task scheduler to allow automated script execution in Cotonti.

#1. Features

  • Set first run date/time and delay
  • Normal or strict mode
  • Multiple triggers (header, index or admin)
  • Log failed cron jobs
  • Skinnable
  • Localisable (includes english and dutch)
  • Jobs can be grouped in realms (v2.0)

#2. Installation

  • Upload files
  • Install plugin in admin panel

#3. Usage

  • Go to admin > tools > cron manager
  • Add a cron job
  • Jobs will automatically be executed when the trigger area is visited and the next run time is past due.
  • Failed cron jobs (wrong script url) are marked in the jobs overview and will be logged in the Cotonti log (admin > other > system log).

Notes

This is a passive cron manager, meaning that the script will still need to be triggered by a visitor. As a result, cron jobs may be executed later than the original set execution time. If you want your cron jobs to be executed at (roughly) the same time of day, use the Strict mode. Normal mode will result in your cron job going out of sync with the first execution time. This is fine for regular usage though.

The script URL must be a local file path, starting at the root of your Cotonti installation. You can use 'plugins/cron/inc/testcron.php' for testing script execution.

Screenshot

See also
» Forum topic


1. Killer  2009-09-06 22:50
А можно по русски, для чего данный плуг? А то с английским большие напряги у меня.
2. Sergeich  2009-09-07 10:24
Этот плагин позволяет выполнять различные операции на сайте по таймеру, может быть полезно для регулярного бекапа, всяких чисток и т.п., таймерам можно много применений найти. В данном случае реализована пассивная версия срабатывания таймера, т.е. таймер на событие сработает только после указанного срока при заходе на сайт любого посетителя (в принципе не критично, роботы сейчас непрерывно по сайтам шарятся). Штука полезная, надо её поизучать.
3. Killer  2009-09-07 14:29
Sergeich, спасибо. :)
4. Boss  2009-09-07 14:57
Хорошая штука. Правда у пассивного способа есть недостаток существенный. Если запускаемый скрипт (обработка) будет выполняться например минуту, то тот пользователь, который обратиться на сайт и своим обращением запустит данный скрипт, будет вынужден минуту ждать, перед тем как увидит запрашиваемую страницу.
5. Sergeich  2009-09-07 20:37
Да вряд ли всё так плохо, ведь по идее юзер просто выключатель нажимает, который не только страницу загружает, но и параллельно выполняет другие задачи.
6. Chiaroscuro  2012-08-29 10:17

На 0.9.10 не работает :(

Alleen geregistreerde gebruikers kunnen reacties plaatsen.