cron

  1. 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 database.clamav.net ERROR: Can't download daily.cvd from database.clamav.net However...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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?
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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 ?
  13. 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...
  14. 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.
  15. 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
  16. vespera

    Cron /usr/bin/kcarectl --auto-update "No updates are needed for this kernel" email arriving every 4 hours

    I'm OK when KernelCare sends a notification every now and then about some update, unknown kernel or similar, but for the past 2-3 days I'm getting an email every 4 hours, whenever KernelCare checks for updates, notifying me that I don't need an update: "Subject: Cron <[email protected]> /usr/bin/kcarectl...
  17. K

    Cron kernel update email spam

    Since 2 days ago, I've started to receive this email to the root account every 4 hours. Cron <[email protected]> /usr/bin/kcarectl --auto-update Current kernel version is 2.6.32-754.18.2.el6.x86_64 x86_64 on CentOS 6
  18. C

    Total Noob here - Cron issue

    We are receiving this message: /bin/sh: line 0: cd: /usr/local/cpanel/whostmgr/docroot/cgi/fantastico/scripts/: No such file or directory I have been asked to look into this but it is not my bailiwick. I'm happy to do the work if someone can clue me in on how to reset the script. I did search...
  19. U

    Getting 100's of cron reports

    Hi, I have my whmcs running, and there is a cron set to import tickets via pop3 to my whmcs. I'm getting reports like this every minute: https://prnt.sc/s5p53h and there are 100's more https://prnt.sc/s5p5bk How do I turn this reporting off?
  20. D

    Cron MiBError Error with WHMCS

    Good evening, I am experiencing an error with the WHMCS Cron. When running from the terminal access command line it is failing at 3/4 Executing System Queue. I have posted the output below. If anyone has any help that would be great, WHMCS support so far have not replied since Thu. David