Форумы / Cotonti / Extensions / [Release] Cron Manager

Automate script execution

GHengeveld
#1 06.09.2009 18:54

Cron manager is a plugin to allow automated script execution.

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)

Installation:

  • Upload files
  • Install plugin in admin panel

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:


Download here

Отредактировано: GHengeveld (01.12.2011 15:00, 12 лет назад)
robotik
#2 06.09.2009 22:38
Excellent Plugin. Thank You.
Lombi
#3 07.09.2009 18:18
Amazing.
<a href="http://www.domenlo.com">Surreal Art</a>
GHengeveld
#4 01.12.2011 14:53

I've updated this plugin to work with Siena. The code is on Github: https://github.com/GHengeveld/cot-cronmanager

Version 2.0 uses Siena features such as PDO functions and forms API. It introduces several functions to add/remove cron jobs, in order to allow other extensions to use scheduled tasks.

Macik
#5 13.09.2012 22:14

Is there any way to run «the hook» from out there Cotonti? I mean some script of CronManager that I can use in «system default» cron job.

It's very convinient to set up Cotonti related cron jobs in web interface, and set up one system cron job to run CM script at night. 

It's especially actual when CM will be used by third party plugins.
Some havyduty cron jobs can cause user discomfort (or even 503 error) while cron task runs common way by usual hook.

 

https://github.com/macik
правильный хостинг — https://goo.gl/fjCa1F
Отредактировано: Macik (23.09.2012 15:26, 11 лет назад)
MecTruy
#6 21.09.2012 11:18

best plugin for me ! thank you GHengeveld

Kurta sormuşlar senin ensen neden kalın ? diye, Kendi işimi kendim yaparımda ondan demiş...