cron job script for jomsocial

Avatar
  • Answered
I need a cron job script to send jomsocial photos to amazon s3. I already setup jomsocial and s3 now i just need a cron job to perform the task.
Avatar
JacobIMH
Hello and thank you for your question. Unfortunately it appears that the JomSocial documentation for setting up Amazon S3 is locked to customers only. More than likely you would just need to setup a cronjob as described in their setting up a cron job documentation. I think you'd end up with your cron job looking like this to function after your setup the Amazon S3 settings in JomSocial itself:
/usr/bin/curl --user-agent JomSocial-S3-Cron http://example.com/index.php?option=com_community&task=cron" > /dev/null
Please let us know if you have any further questions at all. - Jacob