Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • alwaysontask Friend
    #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 Friend
    #477835

    Hello alwaysontask,

    Cron job only uploads new files and modified files to S3, old files are ignored

    alwaysontask Friend
    #477872

    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.
    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 Friend
    #478367

    Hello 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 look

    alwaysontask Friend
    #479053

    Hi 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?

    alwaysontask Friend
    #479087

    And the permission on the file cron.php are 644

    Thanh Nguyen Viet Friend
    #479217

    Hello 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 Friend
    #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-83

    for 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]

Viewing 8 posts - 1 through 8 (of 8 total)

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