1. M

    SOLVED Setting up PHP cron jobs to run as each user account

    I'm trying to figure out the best way to solve this issue. An account is trying to set up cron jobs tasks that will use PHP scripts with mkdir. The issue is this returns a permission denied. I know I can resolve this by setting a root cron job on the server for the account but is there a simple...
  2. Spirogg

    In Progress CPANEL-40842 - Successful root login service : cron ??

    Successful root Login from Local Machine Domain: server2.!!!!!!!com Service: cron Authentication Database: system Username: root Known Network †: Yes ✅ † A “Known Network” is an IP address range or netblock that contains an IP address from which a user successfully logged in...
  3. N

    Cron job for Kernel (can or not) - transparent_hugepage/enabled

    Hello, i see it in the docs of redis: In the old Redis, you need to put it in a script any time you reboot the server, the script shot it. i suspect maybe better to do a cron job for huge page every day / hour, it will shoot every hour or day (this why i...
  4. M

    Clamscan process running in background, outside of cron schedule

    I've setup a cron job to run a nightly scan at 1am. However, throughout the day our server shows clamscan processes running. We've disabled the "ClamAV Daemon" in Service Configuration » Service Manager and nothing is checked in the ClamAV Scanner Configuration. Why are we seeing clamscan...
  5. WebHostPro

    I've been getting Cron /usr/share/clamav/freshclam-sleep errors for weeks now on lots of servers

    Everyday I get a batch of emails from lots of servers saying: Cron <root@xxxxx> /usr/share/clamav/freshclam-sleep ERROR: downloadFile: Unexpected response (403) from ERROR: getpatch: Can't download daily-26440.cdiff from...
  6. R

    In Progress CPANEL-39889 - Cron <root@dashboard> /usr/local/cpanel/3rdparty/bin/freshclam --quiet --no-warnings

    Hi, We got this error when trying to update a clamav database. Any suggestions what we can do? Cron <root@dashboard> /usr/local/cpanel/3rdparty/bin/freshclam --quiet --no-warnings ERROR: getpatch: Can't download daily-26439.cdiff from ERROR: getfile: Unknown response from...
  7. H

    how to disable Cron job mails for all accounts ?

    Hi . i have a SPAM problem on port 25 . so i see Mail Queue that is full of spam cronjob mails . how i can disable mail notification for all accounts on cpanel ? i add "/dev/null 2>&1" in at the end of cronjob. 0 1 5 10 * /path/to/ >/dev/null 2>&1 but it is for single account and i...
  8. J

    Meaning of (root) LIST (root) entry in cron logs

    Hello. Anyone know of the meaning of a cron log entry: Dec 15 22:31:00 xxxxx crontab[6034]: (root) LIST (root)
  9. Nahoo

    Delete old emails or just old junk emails for one or all users

    I have created a nice script that deletes old emails for either a single user or all users. It can also handle junk/spam emails only - which will also help to keep the account space usage down. Usage examples: A single user, with emails a year or older: sh ./ someuser 12...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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?
  15. R

    ClamAV update error from cron

    Hi, I get this email notification everyday that ClamAV fails to update. Cron <root@xxx> /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...
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. 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...