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.
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, 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.