</>JoomCoder
JoomCCK Extended — Documentation

Cron Jobs

JoomCCK uses two scheduled tasks. Both need the Cron Secret word from Components > JoomCCK > Options > General. In the examples below replace example.com with your site and 123456 with your secret word.

Email Alerts

JoomCCK doesn't send alerts during the click that caused them. On an active site one comment can notify a thousand followers, and sending that many emails at once would make the visitor wait and could put your server on spam lists. The alerts are queued and sent by a cron job.

Each user chooses to get alerts immediately, daily, weekly, monthly or never. Every alert email contains an unsubscribe note.

Run this every 5 minutes or more often:

wget "https://example.com/index.php?option=com_joomcck&task=cron.sendAlert&secret=123456"

If wget isn't available, use curl:

curl -A "joomcckcron" "https://example.com/index.php?option=com_joomcck&task=cron.sendAlert&secret=123456"

JoomCCK works out by itself whether to send immediate, daily or weekly alerts.

Automatic Check-in

When a user leaves the edit form without saving or closing, the record stays checked out and moderators can't edit it. This task checks in every record checked out for more than 30 minutes. Run it at least every 30 minutes:

wget "https://example.com/index.php?option=com_joomcck&task=cron.checkIn&secret=123456"

Most hosting control panels (cPanel, Plesk, DirectAdmin) have a Cron Jobs page where you can add these commands.