Tagged: ,

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • #35318
    Profile photo of Greg

    I am trying to get my cron working with my Direct Admin control panel.

    I am using the default curl -silent -A ‘Mozilla’ ‘https://***mydomain***.com.au/?c=1&ss_c=4687cab81a09a40c55ce’ >/dev/null 2>&1

    I have also tried based on a similar old thread /usr/local/bin/curl instead of just curl, I have also tried wget

    When I do a test using * also for time I get one file processed, not all of them. Jpg files are on average ~ 22 MiB each

    If I use the Run Now (with temp setting to allow this) link in the settings it works fine, albeit taking a while.

    Thanks for your help

    Profile photo of Greg

    Update, overnight the processor worked for several files, but not all of them.. If I come back to the FTP after several hours I can see one or two more have been processed. There are still quite a few in the ‘new’ folder. I have it set to 1 minute,

    Can anyone help please

    Profile photo of Greg

    It finally processed all of the image (35), but it has taken 2 days to complete.

    Please help

    Profile photo of Greg

    Anyone able to assist?

    I have tested Imagick

    Version: ImageMagick 7.0.8-46 Q16 x86_64 2019-08-18 https://imagemagick.org
    Copyright: © 1999-2019 ImageMagick Studio LLC
    License: https://imagemagick.org/script/license.php
    Features: Cipher DPC HDRI OpenMP(3.1)
    Delegates (built-in): bzlib freetype jng jpeg png webp xml zlib

    I was using php 7.2.x, but have changed that to 7.0.x but it is still not helping

    Please, does anyone have a solution for this?

    Profile photo of Robin

    Hi there – if some are working and some are not, it is most likely a server issue. Either the cron is not firing, or there is a memory or disk issue that is preventing it from completing the cron job every minute.

    Profile photo of Greg

    Thanks for the reply

    I am able to get it to process 1 image per minute, is it meant to be like that or shoudl it process all at once?

    My cron email result when 1 image is processed every minute

    HTTP/1.1 200 OK
    Date: Tue, 29 Oct 2019 01:12:01 GMT
    Server: Apache/2
    X-Powered-By: PHP/7.0.33
    Expires: Thu, 19 Nov 1981 08:52:00 GMT
    Cache-Control: no-store, no-cache, must-revalidate
    Pragma: no-cache
    Set-Cookie: PHPSESSID=2j3hkrio7o8g8f2t34nb3ev1e1; path=/
    Upgrade: h2,h2c
    Connection: Upgrade
    Vary: Accept-Encoding,User-Agent
    Cache-Control: public, no-transform, must-revalidate
    Last-modified: Tue, 19 November 2017
    Transfer-Encoding: chunked
    Content-Type: text/html; charset=UTF-8

    <meta http-equiv=”cache-control” content=”max-age=0″ /> <meta http-equiv=”cache-control” content=”no-cache” /> <meta http-equiv=”expires” content=”0″ /> <meta http-equiv=”expires” content=”Tue, 01 Jan 1980 1:00:00 GMT” /> <meta http-equiv=”pragma” content=”no-cache” /> <style> .memcl { display:inline-block; padding:10px 20px; border:1px solid gray; margin:10px 20px; } .actio { display:inline-block; padding:10px 20px; border:1px solid blue; margin:10px 20px; } </style> </head>

    Memory at Start: 52M
    Load at Start: 1M
    1 new/updated images/videos parsed
    0 thumbnails re/generated
    Memory at End: 53M
    Memory Peak: 53M
    Load at End: 0M


    Does that help?

    Profile photo of Robin

    Hi there – it processing 1 image a minute is normal and intended. You can change this value by editing the code, but it is not recommended as most servers operate optimally this way. That allows for over a thousand images to be processed in one day, so it adds up quickly.

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

You must be logged in to reply to this topic.