Jade D Posted October 5, 2018 Share Posted October 5, 2018 Hi all, Hoping that you guys can assist. Last night I noticed that the system cron had not run in 3 days and after much fiddling around I managed to locate the error how ever my attempts to locate the cause have been unsuccessful When running the cron using the command (yes its windows, and its not supported, 🙂 but its worked up until now....) C:\>c:\apps\php-7.0.14-nts-Win32-VC14-x64\php.exe -a "D:\XXXXXXXXXXXXXX\crons\cron.php" "all" "-F" "-vvv" The following is being returned Invoice & Overdue Reminders libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile My searches lead me to these threads which kind of indicated what the issue is, ie corrupt png profile so I removed the logo from whmc's general settings > logo url and reran the cron and no luck, same issue http://help.whmcs.com/m/automation/l/683269-advanced-cron-troubleshooting https://docs.whmcs.com/Cron_Job_Issues#Common_Errors No matter how many times I run the cron it is not getting passed this step and is spamming those particular clients Invoice & Overdue Reminders libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile @brian! - help! - yelp 0 Quote Link to comment Share on other sites More sharing options...
Jade D Posted October 5, 2018 Author Share Posted October 5, 2018 I have managed to resolve the issue by doing the following, Downloaded ImageMagick portable and copied mogrify.exe to the server based on the recommendations made here https://stackoverflow.com/questions/22745076/libpng-warning-iccp-known-incorrect-srgb-profile Then used the code below to create a batch file that would run mogrify recursively against all folders on the server after reading the following https://stackoverflow.com/questions/29587837/imagemagick-batch-convert-all-pngs-in-subdirectories-to-jpegs The batch script looks like this d:\ cd D:\Domains\XXXXXXXXX\wwwroot\ for /r /d %%a in (*) do mogrify "%%~a\*.png" 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.