How to change scheduler for campaigns to run during the day instead of at night?

Hi,

I would like my email campaigns to run as soon as I create them during the day and not only between 2am and 6am in the morning. I reviewed “Admin --> Schedulers --> Run Nightly Mass Email Campaigns” and I can see that the crontab interval is 0 2 * * *. I think this means that it should run at 2am every day. However, I’m not sure why this means that it should only run until 6am. Where is it specified that the email campaigns stop at 6am? How can I change the email campaign scheduler to run all day long and at specified intervals (e.g. every 15 minutes or every 5 minutes)?

Thanks,
Don

I also do not understand the limit until 6 in the morning, the same way you do, I understand that it will run every day at 2 o’clock. To run once every 5 minutes every day would be something like * / 5 * * * * or * / 15 * * * * for 15 minutes.

Are you guys talking about the setting in Linux crontab that launches cron.php? This one normally is configured to launch every minute.

Then there are the schedules for specific jobs. You could set the emails to start sending much more frequently, no problem there.

I don’t know what you’re talking about regarding the 6AM limit. Is that written on a screen? Or just your experience?

Hi pgr,

I’m running on Windows.

If you go to Admin --> Scheduler, you will see in the interval column, to the right of to the right of “Run Nightly Mass Email Campaigns” that the schedule is “On the hour; From 02:00 to 06:00”. And, if you go to Admin --> Scheduler --> Run Nightly Mass Email Campaigns, to the right of the “Interval” parameter, you will see “On the hour; From 02:00 to 06:00”.

I could not find anything about schedulers in the SuiteCRM documentation, however, in the SugarCRM documentation there is a reference to the 2am to 6am window (http://support.sugarcrm.com/Knowledge_Base/Campaigns_Target_Lists/Troubleshooting_Campaign_Sending_Limits/)

I just figured out how this is confusing in the configuration – If you edit the “Run Nightly Mass Email Campaigns” scheduler, in the crontab setting, you will see that the interval appears to be 0 2 * * * . However, upon further inspection, each of those fields only displays one character and if you cursor into each field, you will find that the second field is actually “2-6” and not “2” which makes the crontab setting actually 0 2-6 * * *.

I would recommend a fix that shows all of the characters for each field of the crontab setting instead of just one character.

Cheers,
Don

Please open an Issue on Github asking to fix the width of that field, I agree with you that this can be quite misleading.

About your scheduling, simply configure that job to run more often, to your liking. For example, every hour or every half an hour (change the Interval minute field to “/30", put "” in hours)