-
AuthorPosts
-
December 25, 2012 at 11:01 pm #183413
Hello everybody,
I guess that everytime a cronjob is running, it does upload all the files in the folders (old and new files).
I would like to set up a cronjob that only upload the new files (since the last upload).
Is there a way to do this?Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
December 29, 2012 at 2:53 am #477835Hello alwaysontask,
Cron job only uploads new files and modified files to S3, old files are ignored
December 29, 2012 at 10:38 am #477872Hello Dead Code,
that’s the problem, when I click on “Upload New & Modified files” it does upload everything: the new files and the old files even if they’ve not been modified, so the upload takes long time.
I want to “Upload new files only” using the cronjob.Also the cronjob seems not to be working, I receive this message:
Resolving mywebsite…
Connecting to mywebsite… connected.
HTTP request sent, awaiting response… 504 Gateway Time-out
2012-12-29 11:32:01 ERROR 504: Gateway Time-out.Any idea?
Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
January 4, 2013 at 2:42 am #478367Hello alwaysontask,
We are sorry for late response.
Could you please give us FTP account and Administrator account (via PM) for further checking.
Regarding cronjob issue, how did you configure cron tab?
I have replied one question regarding cron tab issue here
Please have a lookJanuary 9, 2013 at 9:52 am #479053Hi Dead Code, thank’s for replying.
I changed the configuration accordingly but now I’m having this error:Resolving mywebsite
Connecting to mywebsite… connected.
HTTP request sent, awaiting response… 200 OK
Length: unspecified
cron.php?key=backup: Permission denied
Cannot write to `cron.php?key=backup’ (Permission denied).My config is this: wget “http://mysiteurl/administrator/components/com_jaamazons3/cron.php?key=backup”
In the general options of JAS3 I set “backup” as key and System Cron job as cron mode.
Any idea?January 9, 2013 at 2:33 pm #479087And the permission on the file cron.php are 644
Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
January 10, 2013 at 7:59 am #479217Hello alwaysontask,
the cron.php file does not require special mode to run, so 0644 is correct mode.
Please PM me information about your site (administrator account + FTP account), It is hard for me to debug this issue with only such limited information.Because this issue is often related to host or htaccess settings.
Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
January 16, 2013 at 3:42 am #479941<em>@alwaysontask 352677 wrote:</em><blockquote>Hello Dead Code,
that’s the problem, when I click on “Upload New & Modified files” it does upload everything: the new files and the old files even if they’ve not been modified, so the upload takes long time.
</blockquote>Hello,
I have fixed this bug, issue is created in our bug tracker system, you can check it at
http://pm.joomlart.com/browse/JAECCOMAMAZONJIVI-83for quick fix, please open the file administrator/components/com_jaamazons3/controllers/localrepo.php
search for the code snippet:
[PHP]if((!$replace || $replace == 0) && count($files)) {[/PHP]
and then, replace it with this one:
[PHP]if((!$replace || $replace == 0 || $replace == 2) && count($files)) {[/PHP]
-
AuthorPosts
This topic contains 8 replies, has 2 voices, and was last updated by Thanh Nguyen Viet 11 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum