You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

We recommend using the message queuing feature.
But if you are unable to setup a new cronjob, activate the "Send without Queue" option at the module configuration.

Add the following cronjob on your server. This will send out the messages from the queue:

*/1 * * * * php -q /var/www/html/modules/addons/slackforwhmcs/SlackCronjob.php

If you want to send messages faster, you can do the following cronjob:

*/1 * * * * php -q /var/www/html/modules/addons/slackforwhmcs/SlackCronjob.php; sleep 20; php -q /var/www/html/modules/addons/slackforwhmcs/SlackCronjob.php; sleep 20; php -q /var/www/html/modules/addons/slackforwhmcs/SlackCronjob.php

Replace /var/www/html with your document root.

If you are unable to setup a new cronjob, activate the "Send without Queue" option at the module configuration. With that option activated, messages will be sent directly and without cronjob.

If slack is unreachable, there can be a delay at page load time if you are using the "Send without Queue" feature instead of the message queue feature.

  • No labels