TYPO3/Install Arcavias/Configure scheduler tasks

The Scheduler extension has to be installed in TYPO3, before any tasks can be configured.

Setup scheduler user
Before the TYPO3 scheduler can be triggered by a cronjob (which has to be created separately and executing the scheduler every minute), a user for the scheduler has to be created:


 * 1) Admin Tools::Scheduler:
 * 2) * switch to submodule Setup check (selection box in docheader in TYPO3 v4.7.7)
 * 3) submodule Setup check, section TYPO3 Scheduler back end user:
 * 4) * click Create the user now in red box to create user "_cli_scheduler" for the Scheduler

Create Arcavias tasks
After installing the Arcavias TYPO3 extension, a new scheduler task named "Arcavias scheduler" is available. It's capable of executing one or more Arcavias jobs for one or more sites. Normally, you will need to add the Arcavias scheduler task three times with different jobs: The jobs that should be executed every minute, the job for rebuilding the catalog index and the job for optimizing the catalog index. To add a new task, click on the icon with the plus symbol (green one in the upper left corner / above the list of configured tasks). When all Arcavias tasks are configured it should look like this:



Create a frequently running task
There are some Arcavias jobs that should run very often, like the job for decreasing the stock levels after an order was placed successfully. This task can also be used for other jobs that should also run frequently, namely the Admin interface jobs (creates exports requested by editors in the administration interface), the Order confirmation e-mail (sends the confirmation e-mail to the customer after he placed an order successfully) and the Process service delivery job (sends the completed orders to the ERP system or logistic partner). Configure a task for them by


 * 1) click on the plus sign above the list of configured tasks
 * 2) new window Scheduled tasks opens:
 * 3) * set selection box Type to value "Recurring"
 * 4) * enter "* * * * *" in field Frequency to run the task every minute
 * 5) * select the jobs
 * 6) ** Admin interface jobs
 * 7) ** Order confirmation e-mails
 * 8) ** Order product stock levels
 * 9) ** Process service delivery job
 * 10) * select the sites for which the jobs will be executed (at least "default")
 * 11) * configure at least the sender e-mail address in the TypoScript field
 * 12) * configure the content URL and the catalog detail page ID to reference the product images and product detail page in the e-mails correctly
 * 13) * click Save and close.



Since version 1.1 there's a specialized Arcavias e-mail scheduler task that provides fields for directly entering the required data. For older versions, the example below shows how to configure the e-mail related settings in the TypoScript field of the scheduler task:

client.html { email { from-email = me@myshop.com from-name = My Shop }  common.content.baseurl = https://yourdomain/uploads/tx_arcavias catalog.detail.url.target =  }

Create the catalog index task
The catalog index is a separate product index optimized for searching products. It should be recreated once a day after midnight to update the products if start and end times are used for products, texts, etc.

Note: Rebuilding the catalog index may last from several minutes up to an hour depending on the amount products per site in the database. Also, it's very resource consuming and should run only in time frames with low activity on the shop pages.


 * 1) click on the plus sign above the list of configured tasks
 * 2) new window Scheduled tasks opens:
 * 3) * set selection box Type to value "Recurring"
 * 4) * enter "15 0 * * *" in field Frequency to run the task 15 minutes after midnight
 * 5) * select the job "Catalog index rebuild"
 * 6) * select the sites for which the jobs will be executed (at least "default")
 * 7) * click Save and close.



Create the optimize task
To speed up the shop front-end even more, you can run a job to optimize the database tables and load the data into memory if possible. This job should run after the index is rebuild to get the best result and therefore configured separately, so it runs only once for all sites:


 * 1) click on the plus sign above the list of configured tasks
 * 2) new window Scheduled tasks opens:
 * 3) * set selection box Type to value "Recurring"
 * 4) * enter "15 1 * * *" in field Frequency to run the task 15 minutes after one o'clock (change this to your own needs)
 * 5) * select the job "Catalog index optimize"
 * 6) * select the sites for which the jobs will be executed (normally only "default" as the optimization is globally done)
 * 7) * click Save and close.



<< Previous: Configure TYPO3 | Next: Admin interface >>