1. BlueSteam

    Segmentation fault - Same cron used on 3 accounts but only 1 failing

    Hello, My client has 3 websites that uses amazon mailster to send out campaign emails. The same cron that is setup on all 3 accounts is is working perfectly on 2 of them except one. Running an strace on the command in question results in a segmenation fault as seen below in the last few lines...
  2. C

    pkgacct via cron doesn't appear to run

    If I run from root /usr/local/cpanel/scripts/pkgacct example I get output in the home directory, eg: cpmove-example.tar.gz If I try to schedule it in crontab, eg: 02 22 * * * /usr/local/cpanel/scripts/pkgacct example I get no output. What am I doing incorrectly? When I grep: grep pkgacct...
  3. P

    Cron Jobs Running wget on Long URLs not Working

    I have a series of wget cron jobs that are not firing and I am wondering if that is because the URLs they are getting are long. It is the only thing about these jobs that I can think of that would keep them from working. That or maybe I just have too many cron jobs scheduled. Here is a redacted...
  4. J

    imunify360 constant cron job every minute

    Hello. Is it normal for the free version of imunify360 to produce cron logs showing activity every single minute as well as every 5 minutes as such: May 31 07:30:01 xxxxxxxxxxxxxx CROND[6360]: (root) CMD ( imunify360-agent malware on-demand check-detached 2>&1 > /dev/null || :) May 31...
  5. H

    Can WHM server admin edit cpanel users cron jobs directly?

    Can the server admin edit cpanel user's cron jobs directly from ssh, or is it best to only manage through cpanel user interface?
  6. R

    ClamAV update error from cron

    Hi, I get this email notification everyday that ClamAV fails to update. Cron <[email protected]> /usr/local/cpanel/3rdparty/bin/freshclam --quiet --no-warnings ERROR: getpatch: Can't download daily-26096.cdiff from ERROR: Can't download daily.cvd from However...
  7. M

    cron problem for sh script

    hi, i can't run this script from cron i tried all possible commands but nothing. launched from terminal works from cron is not executed. I tried everything with usr / bin / bash sh usr / bin and a thousand other combinations but nothing. the script reindexes magento and works but I just can't...
  8. P

    SOLVED Cross Domain Cron Jobs Not Working

    I have a series of cron jobs that are not firing. They are supposed to open the URL of an API on another server. I own the other server, but since it is a Windows Server I though it would be easier for me to automate the running of those scripts using cron jobs on my Linux server. I know cron...
  9. leonep

    wp-toolkit cannot change cron command generated

    Hi guys, i am using wptoolkit in whm to disable wp-cron it's nice feature but i have a little problem. after activating this option the system automatic insert a new rule in cron ... 15 5 * * * cd /home/xxxxxxxxx/public_html && /usr/local/bin/php /home/xxxxxxxx/public_html/wp-cron.php...
  10. P

    Cron to send email as another user

    Whether it be PHP, Perl or other scripts, when one sends an email the "username" is contained within the email headers. So, this is a concern to me, as emails go through many gateways as plain text, and that username is the Cpanel/website root username. The objective is to keep the username...
  11. O

    Formatting cron email

    Trying to format the cron email to no avail. I get the emails, but cannot format them. They are Content-Type: text/plain; charset=UTF-8 but I cannot get the output to format in single line with a cartriage return. For instance I want the output to be "User $fname $lname ($id) sent dues reminder...
  12. kamm

    Delete emails in account by cron

    I'd like to delete all emails in an account's inbox that are older than 1 month on a daily basis. What would be the best way to go about this? I'm thinking cron with a PHP script? But, UAPI / API 1 / API 2 - which one to use?
  13. AndyX

    Cron Job rsync error - .meta file failed permission denied (13)

    I have two drives in my server. Every night I have a Cron Job which runs a rsync to backup my user folder and all folders and files below it. This has worked very well for a long time, but lately I have been getting an email indicating there is an error. Here's what the email indicates: I...
  14. V

    Disable cron notification from SSH

    My mail queue is almost frozen mails with over 7k to 10k All mails are related to cron notification i went to cP > Cron job and i can see the cron notification Email was updated with the cPanel username which is causing the issue How can i disable the cron notification on bulk for all accounts...
  15. J

    SOLVED clamav scan times vs. cron scan times

    Hello. Activated clamav and see that in the control panel there is no setting on *when* to have it run when it does scan. Alternatively there is a cron job I have (below) that does what I want (except sending me emails about the results). So if I shut down the GUI clamav settings, i.e, untick...
  16. Bashed

    Cron Version Mismatch + Nginx Issues

    Upgraded to WHMCS 8.0.1 and changed PHP to 7.4 (cpanel). Now, health check shows: Cron PHP Version Mismatch Your environment appears to be running a different PHP version (7.3.22) for the System Cron than the currently loaded PHP version (7.4.10). This may cause issues running your System...
  17. P

    How to Find Which Accounts have Cron jobs added

    Hello, I have too much cpanels it's running too much crons so server load is increasing. I want to know that how can I get a list of CPanel accounts which have Cron jobs added ?
  18. C

    Using a Cron Job with the "sysctl -p" Command to Speed up Sites

    I have been pulling my hair out to speed up a large forum site on my server. I've spent years tuning my server, and lots of money and time on speeding up the IPB Forum app. I've recently noticed that simply running this command, aside from any changes I make...I mean just running this without...
  19. T

    How to configure CRON to run commands Randomly in both hours and minutes

    Is it possible to setup a cron to run every 3 hours at a random in both hours and minutes. (i.e if the first job runs at 01:20 ,the second job should run at 03:50 and the third one at 07:02 and so on) Any suggestions on the best way to achieve this would be greatly appreciated.
  20. K

    Can a Cron job be set up to FTP?

    Hi, I've been learning how to set up cron jobs. Before I do more research, can a cron job be set up to do a FTP job? FTP the files in a folder to an external folder? Thank you