Cron plays a crucial role in ensuring the smooth functionality of the SaaS Module. The good news is that if you’ve already configured cron for Perfex CRM, there’s no need for any additional setup. However, let’s explore potential enhancements to your cron setup and share some optimization techniques you should be aware of.
By default, your cron address is set to https://yoursaasdomain.com/cron. When a new tenant is created, our system automatically configures modules and other essential data based on the package settings. However, there may be occasions when you install a module after setting up some tenants, and you wish to assign these new modules to a specific package or tenant. In such cases, you may want to manually trigger the cron by visiting the cron address in your web browser. This can significantly expedite the cron execution, especially if your cron is not scheduled to run at one-minute intervals.
Furthermore, for more granular control, you can run the cron for an individual tenant manually by visiting either of the following URLs:
- https://tenantid.yoursaas.com/cron
- https://yoursaas.com/tenantid/ps/cron
This approach ensures swift module setup for the selected tenant, enhancing the overall user experience.
For emergency setup of module for a tenant, you can append ?setup to the tenant cron link i.e https://yoursaas.com/tenantid/ps/cron?setup=1
NOTE: if you have customize route path ID i.e ‘ps’ on the SaaS settings, kindly ensure your replace with the right custom path ID.