Setting up cron Jobs for Broadcast

 

On most Linux server enviroments, you can simply run the command below as often as you are comfortable. We recommend that you run it every 120 minutes or less. On a busy site, you might want to run it every 80 minutes. The more frequent you run it, the less load it will be on the server, but the invite sending will also be faster.

 

Cron can be set up by using any one of below given  methods lynx OR wget

A) lynx is a text based browser that is installed in most hosting environments.  

Broadcast has three crons  

Below xxxx=Private Cron Key in Backend option of Broadcast
sitename
="Your sitename"


Cron URL for fetching status updates from facebook,linkedin,twitter to your site

lynx -source "http://sitename/index.php?option=com_broadcast&controller=broadcast&task=get_status&tmpl=component&pkey=xxxx" > /dev/null

 

Cron URL to broadcast status from site to facebook,linkedin,twitter

lynx -source "http://sitename/index.php?option=com_broadcast&controller=broadcast&task=set_status&tmpl=component&pkey=xxxx" > /dev/null

Cron URL for getting RSS feed

lynx -source "http://sitename/index.php?option=com_broadcast&task=getrssdata&controller=rss&tmpl=component&pkey=xxxx" > /dev/null 

 

B) wget If you do not have lynx installed, you can use other alternatives such as wget as below.

 

Broadcast has three crons  
Cron URL for fetching status updates from facebook,linkedin,twitter to your site

wget -O /dev/null "http://sitename/index.php?option=com_broadcast&controller=broadcast&task=get_status&tmpl=component&pkey=xxxx" > /dev/null

 

Cron URL to broadcast status from site to facebook,linkedin,twitter

wget -O /dev/null "http://sitename/index.php?option=com_broadcast&controller=broadcast&task=get_status&tmpl=component&pkey=xxxx" > /dev/null

Cron URL for getting RSS feed

wget -O /dev/null "http://sitename/index.php?option=com_broadcast&task=getrssdata&controller=rss&tmpl=component&pkey=xxxx" > /dev/null 

 

 

 

Subscribe to Newsletter





 * Marketing permission: I give my consent to to be in touch with me via email using the information I have provided in this form for the purpose of news, updates and marketing.

What to expect: Jump on to our Newsletter & stay updated on news on our extensions, new releases & offers! 

* If you wish to withdraw your consent and stop hearing from us, simply click the unsubscribe link at the bottom of every email we send. 


Latest Blogs

Fan Speak !

  • Fantastic extension. Easy to install provided your follow the detailed documentation. 

    A must have to link Jomsocial with leading social networks such as Facebook, Linkedin and Twitter.