You likely know the work of “Cron” a server utility that help you schedule and automatically execute jobs at predefined time. In SMSPlus, there are several jobs that need cron support to execute, and most of these are inevitable for the application to function properly, i.e. Send Message cron etc. Here on this page you can manage the time interval of different jobs that application manages through the cron support.
Navigate to Cron Settings
Admin Main Navigation -> Setup -> Cron Settings
Before we discuss the intervals you can setup for the different jobs, let’s note down the function of main cron job. You setup an interval for the main cron using your server environment, this time also reflects in Cron Status (Top Right Area) of the title bar. Primary or main cron runs after the set interval, and checks if there is any job to execute. If it finds any job holding for the execution, the command will execute it. Then it runs again after the preset time interval completes and the cycle continues. Here on Cron Status page, you can see the status of other Jobs setup with cron support.
Here on the main page that you land after clicking “Cron Settings” from the main navigation, you specify time for the different jobs to execute after. The minimum interval is the 5 minutes while the maximum interval you can specify for the job is 20 minutes. In case you apply the maximum time as 20 minutes, system would push the job after every 20 minutes for the main cron to execute on its interval. It is how it functions.
Next to every cron time that you can setup on this page, you can see a button “Run Now”. Clicking on it would terminate the preset time of the specific cron for the instance, and will run it immediately on the very next interval of main cron. What it means is that if the Send Message cron is set at 20 minutes, and you click on Run Now. System will push the job for the execution with an immediate effect without waiting for another 20 minutes. The maximum delay that can occur in this case would be the time of main cron interval.
Run General Cron
Click to Run the General Cron command without waiting for its interval to complete. What it means that if the main/general cron is set to run after every 5 minutes to execute jobs holding for execution, clicking Run General Cron will run the general cron immediately without having to wait for 5 more minutes.
Click to update your settings for the cron intervals.