Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

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

...

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

Code Block
*/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 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.

Tip

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.

...