Background Jobs Selector

Use the background command to select which scheduler you want to use for controlling background jobs. This is the same as using the Cron section on your ownCloud Admin page.

background
 background:ajax       Use ajax to run background jobs
 background:cron       Use cron to run background jobs
 background:webcron    Use webcron to run background jobs

Examples

# Set the background scheduler to Ajax
sudo -u www-data php occ background:ajax

# Set the background scheduler to Cron
sudo -u www-data php occ background:cron

# Set the background scheduler to Webcron
sudo -u www-data php occ background:webcron
See background jobs configuration to learn more.