Tasks Scheduler

All Plugins / Action / Scheduler

Identity Card

StatusCore
Plugin LabelTasks Scheduler
Short DescriptionRegister tasks to be run on a regular basis instead of writing them one by one in cron tab.
Plugin Identifieraction.scheduler
AuthorCharles du Jeu
Urldocs/references/plugins/action/scheduler
Dependenciesaccess.ajxp_conf, access.ajxp_admin

Documentation

This plugin replicates a CRONTAB-like scheduler that can register Pydio actions to be triggered on a regular basis. It will be used in the future to register maintenance tasks like purging the caches, computing specific files processings in background, etc. It requires the activation of the command line access to the framework. Beware to check the correspondance between the apache and CLI versions of the php.ini, especially if you use exotic extensions or libraries.

The scheduler itself must still be triggered externally, but this allows to register only one external call for starting the scheduler, and all actions can then be managed directly in Pydio. The external call should be triggered through the command-line using the CLI version of the framework.

Commands are programmed with a time expression similar to CRONTAB expression : for example, /5 * * * * would run a task every five minutes, or * 0 * * * every hour, etc. See Cron tutorials.

Instance parameters

LabelDescriptionTypeDefault
action.scheduler.23
action.scheduler.12 *
label
action.scheduler.12dString
action.scheduler.2 *
schedule
action.scheduler.2dString
action.scheduler.17 *
user_id
action.scheduler.17dString
action.scheduler.4 *
repository_id
action.scheduler.4dSelect ()
action.scheduler.24
action.scheduler.1 *
action_name
action.scheduler.1dSelect (json_list:list_all_plugins_actions)
action.scheduler.6
param_name
action.scheduler.6dString
action.scheduler.7
param_value
action.scheduler.7dString