[Crontabs] Automating the component

You don't want to login every night to disable subscriptions or send reminders, so a crontab can do this job for you. Wha tdoes the cron do? Disabeling subscriptions, send reminders, cleaning the orders table, removing coupons and sending out mailings.. 

Crontabs

We have to create 2 crontabs;

- 1 - http://yourdomain.com/index.php?option=com_rdsubs&view=cron&task=runCron
- 2 - http://yourdomain.com/index.php?option=com_rdsubs&view=cron&task=dailyCron


Crontab 1
can be executed as often as you like, it is being used to send out emails which can be send during the day. Example, you have send a news letter to your customers and the component is able to do this for you. Execute the 1st one and it wil send out batches of 100 emails per xx time. 

Crontab 2 is executed once per day and is disabeling subscriptions, cleaning the orders table, sending out reminders, disabeling coupons and so on. Everything what needs to be done at the nightly cron. The best time to execute this cron is directly after midnight.

We assume you know how to set up a crontab on your server, otherwise you have to ask your host how to do this or read their documentation how to set up crontabs.

Crontab Security

As the crontab system is being called by an URL (CLI script is coming soon) we have to proctect the crontab by a password. In the configuration you are able to set a password for your crontabs so they cannot be accessed by a user, bot or anything else without knowing the key/password.

Setting the password:

crontab security


Once you have set the password, you have to change the URI's to the crontab:

- 1 - http://yourdomain.com/index.php?option=com_rdsubs&view=cron&task=runCron&key=[YOURPASSWORD]
- 2 - http://yourdomain.com/index.php?option=com_rdsubs&view=cron&task=dailyCron&key=[YOURPASSWORD]

Crontab Providers

If you don't have the ability to run crons at your server, you might want to use one of the crontab services that are available on the internet. Webcron (or online cron service) brings huge convenience to users on quickly setting up cron job to trigger periodical tasks. Here are 2 webcrons that are pretty good  intheir servcies:

https://www.easycron.com
https://www.setcronjob.com/

 

Why Choose Us?

Latest Joomla! & PHP Versions!

We're always developing our components in the latest Joomla! and PHP environments! No need to be scared to run in troubles when your hosting company is updating their servers. We have probable tested it already ;)

100% Open Source

Our code is fully Open Source, so you can make changes to the code as much as you like! Making changes to the code? We can advise, but don't support your custom code. Using overides is the best thing to do!

Responsive Design

All extensions are as responsive as possible built on the shipped Joomla Bootstrap 2.x.x Library! We will soon make all our products compatible with Boostrap 3 to make sure it works on all Bootstrap versions.

Easy updating by the Joomla Updater

All components are being shipped with Joomla Update support, this means you don't have to upgrade manually anymore! The only thing you need to do is making sure you have entered a valid Download Key!

Quality Guaranteed

All our components are fully based on the Joomla API, this gives us flexibility so we can guarantee the quality of our products. When Joomla moves on, we're also moving on!

Service & Support

All our components are fully based on the Joomla API, this gives us flexibility so we can guarantee the quality of our products. When Joomla moves on, we're also moving on!