Use Internal Scheduler
In this section, we introduce the scheduler and show how you can optimize your workflow by scripting redundant tasks.
Using The internal Scheduler
First you need to display the advanced parameters by enabling the following button.
The scheduler in Pydio Cells let you define task that are to be done and program when they are to be executed, directly via the web interface. For instance, you might want to configure a task to clear the recycle bin every first day of the month, instead of launching a script or else to clear it.
You can find the scheduler under Backend >> Scheduler, the main interface looks like this:
|Type of the trigger: manual, on-event or periodic||Human friendly name of the task (usually its goal)||Who launched the task ( for system jobs it's usually the system user)||Last time it ran||Current status (in the figure above, all tasks were done)|
System jobs are default jobs registered inside the application. They usually handle tasks such as syncing the datasources, indexing and more. They mainly make sure that your Pydio Cells instance is running healthily. You do not want to intervene on those. Yet, you can disable the jobs or force them to run on demand.
As seen in this screenshot (we took the sync DataSource pydiods1 job) :
- Run Now: force the task to run right now
- Disable job: disable the task that will therefore no longer run
- Enable multiple or Clear All which clears the history.
You can also click on any job to have an history of it's events such as errors.
User jobs are usually tasks launched by users such as compression, share etc ... They are created and launched asynchronously to keep end user experience fluid and smooth when executing heavy tasks without blocking the UI. Typically, when uploading or compressing large files or folders.
You can interact with user jobs in a similar manner as you do with system jobs, see above.
Create your own jobs
With Pydio you can define, configure and schedule (and therefore auto-run) the task of your choice.
This feature is not yet enabled but it's on our road map and you can expect it to be released soon.