We rebuilt our website from scratch and are still updating some extensions and pages. Having a problem? Sign in and open a support ticket or contact us.
JoomBoost

Cron and queue processing

JoomSMS sends messages from a queue. A message you send by hand from the administrator is sent right away in a progress window. Everything else waits in the queue until the cron URL is called: scheduled messages, automatic messages, messages sent from the front end, birthday and date messages and the actions of plugins.

The settings are in Components > JoomSMS > Configuration, tab Queue.

The cron URL

Cron URL shows the address to call, for example:

https://www.example.com/index.php?option=com_joomsms&ctrl=cron

Each call runs these steps:

  1. Sends the SMS in the queue that are due, up to the batch size below.
  2. Moves scheduled messages whose send date has passed into the queue, and sends them in the same run.
  3. Once per day, on the first call after midnight in your Joomla time zone, runs the daily tasks of the plugins (birthday and date messages, event reminders...).
  4. Runs the tasks the plugins do on every call.

The address needs no login and no key. Anyone who knows it can make JoomSMS process its queue, which only sends what is already due.

Create the cron task

Ask your host for a cron job, or use the scheduler in your hosting panel, and let it open the cron URL every 5 to 15 minutes. A typical command:

*/10 * * * * wget -q -O /dev/null "https://www.example.com/index.php?option=com_joomsms&ctrl=cron"

With curl use curl -s "https://www.example.com/index.php?option=com_joomsms&ctrl=cron" > /dev/null. An outside cron service that calls a URL works too.

Daily messages run on the first call of each day, so the cron must run at least once a day. For birthday messages at a set hour, call it at least once an hour.

Check that it runs

Field What it shows
Last Run time When the cron URL last ran, as "x minutes ago". After 500 minutes without a call it shows the date and time instead.
Report The short report of the last run, including errors.

Open the cron URL in your browser to run it by hand. The page lists what JoomSMS did.

Queue processing

Setting What it does
Send X SMS per batch using Y parallel threads How many queued SMS one run sends (10 to 1000) and how many requests are sent to the gateway before the results are read (1 to 100). Lower both if your host stops long scripts or the gateway limits the rate.
Allow the automatic send process to send messages every Stored but not enforced in 6.5.7: every call of the cron URL processes the queue. Control the rhythm with the timing of your cron task.

Each run also stops on its own shortly before PHP's time limit and leaves the rest for the next call.

A sender profile can add a pause between two SMS, see Sender profiles.

Reports

Setting Options
Send a report No, Each time JoomSMS is triggered, Only if JoomSMS executes an action (default) or Only if an error occurs.
Send the report to One or more e-mail addresses, separated by commas, semicolons or spaces.
Save the report No, Simplified Report or Detailed Report (default).
Save the report to The log file, relative to the Joomla root. Empty means media/com_joomsms/logs/report0.log.

See the report opens the log file and Delete the report empties it. JoomSMS writes to the log only when a run did something or hit an error.

The log folder gets an .htaccess file that blocks web access on Apache. On Nginx or IIS, block the folder in your server configuration, or move the log outside the web root.

All Extensions