We have decided to implement the automation feature outside the core installation as an optional dependency for your project.
Enabling the required bundles:
Add the routes for the automation-bundle:
The bundle will add additional tables to your database which contain the tasks and some other information. Last but not least export also the translations for your Sulu-Admin:
This library is able to schedule tasks on a specific time in the future. The tasks which are overdue will be executed when the following command will be called (for more detailed information consider the documentation of php-task):
The best-practice is to create a cron-job on your server which is running the above mentioned commands periodically (e.g. every 5 minutes). This intervall will define the accuracy of the schedule time.
Currently two tasks can be scheduled for pages:
For both a timestamp can be defined when the selected action will be called. After scheduling a task you can track the state of it in the second list.
This new feature is a basic implementation at the moment. It is customizable and will be extended soon in the core with additional possibilities.
We think automation is very usefull and want to encourage you to use it. Please let us know what you think about it as the community feedback is very important to us! Also, stay tuned for more automaged tasks in the future.