By Gavin Costin on Monday, 27 November 2017
Posted in General
Replies 7
Likes 0
Views 413
Votes 0
I've configured our staging site to use s3 but have not seen the appropriate instructions for creating a cronjob for ubuntu 16.04 without a control panel.

Could you send me that information?
Hi Gavin,

You can try to follow this ubuntu documentation on how to use cron
https://help.ubuntu.com/community/CronHowto
·
Monday, 27 November 2017 17:06
·
0 Likes
·
0 Votes
·
0 Comments
·
but what needs to be done as far as managing files into s3?
·
Monday, 27 November 2017 18:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Gavin,

For managing amazon s3 you can follow this documentation: https://stackideas.com/docs/easysocial/administrators/remote-storage/setup-amazon

For further understanding cronjob: https://stackideas.com/docs/easysocial/administrators/cronjobs
·
Monday, 27 November 2017 19:27
·
0 Likes
·
0 Votes
·
0 Comments
·
please look at the end of URL you sent. it says:

Once you are done, save the settings and you are good to go. Next, you will need to create the cronjob so that the system will be able to upload the files over silently.
·
Wednesday, 29 November 2017 00:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Gavin,

Yes, you need to setup the cron job in order to make the files, photo etc to be uploaded in scheduled time
·
Wednesday, 29 November 2017 10:48
·
0 Likes
·
0 Votes
·
0 Comments
·
I need detailed instruction or example cron to base what you need as entries to accomplish this. please send.
·
Thursday, 30 November 2017 12:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Gavin,

To be frank with you, we do not have exact experience to setup this from the Ubuntu server regarding this cronjob configuration.

But i believe it quite similar with other setup, did you know your server did support wget?

If yes, can you consult with your webhosting provider and see what is the correct wget path from your server? Because it need to use to setup following cronjob command.

Once you know your Wget path :

1. Open your SSH server
2. type this export EDITOR=nano
3. type this crontab -e
4. I believe it will show tab which allow you type following command.
5. this usr/bin/wget you have to replace to use your server Wget path
[gist type="php"]
*/5 * * * * /usr/bin/wget -O /dev/null "http://yoursite.com/index.php?option=com_easysocial&cron=true";
[/gist]

Most of the step is quite similar with this reference link (https://help.ubuntu.com/community/CronHowto) like what my colleague shared to you in earlier.

if you still need assistance on this, perhaps you can provide us with your following access so we can better have a look.
- Joomla backend access
- FTP access
- SSH access
·
Thursday, 30 November 2017 17:15
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post