Auto-enable scheduler

Hi, I have erpnext setup and DNS multi-tenancy turned on, how do I enable Scheduler for the already existing sites and for new ones automatically?

Did you try bench --site sitename enable-scheduler?

3 Likes

Thanks, it worked. Do you know how to enable scheduler on all site at once?

Did you try without the --site sitename? Just bench enable-scheduler

Yes, running enable scheduler without sitename, enables only the default site. Should I delete the Default-Site file?

bench --site all enable-scheduler

6 Likes