Ragonz Posted September 2, 2019 Share Posted September 2, 2019 I'm working on the affiliate system today and want to find out if its possible to change the date when affiliate emails go out? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted September 2, 2019 Share Posted September 2, 2019 21 minutes ago, Ragonz said: I'm working on the affiliate system today and want to find out if its possible to change the date when affiliate emails go out? I suspect you'd have to use the cron flags to prevent (skip) the monthly email going out, and force it to go out when you want it to. https://docs.whmcs.com/Crons Quote Task Options for skip & do When performing a skip or do command, you can itemize which tasks are excluded or included respectively. Below is a table that itemizes these task options, as well as their normal frequency. The "--force" option does exactly that...it will force execute any application tasks (respective of the command [all, skip, do]) regardless if the task is suppose to run once a day, a month, or at a time other than now. so in effect, you might end up with 2 crons... the first default cron modified to skip sending the monthly reports and a second cron, running on a specific day/time of the month you specify, solely to send the reports emails. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.