cron

  1. H

    Cron Job not running

    cron jobs not running. This issue is only for root user. due to this issue cpanel backups are not running.
  2. U

    cron jobs of account disappeared

    Hello, suddently in one account of my server that is a resseler until some hours ago it had dozens of cron jobs. Now it has none. I downloaded a backup and found a file that state all the cron jobs as: SHELL="/bin/bash" MAILTO="[email protected]" 0 0 * * * cd /home/xxx/public_html/xxxxx.eu &&...
  3. G

    Cron to back up MySQL

    I want to back up one site's MySQL database every night, and every other database weekly. I have this for the nightly backup, which I'm pretty sure will let the database stay active so minimal impact on site users: 0 1 * * * mysqldump --single-transaction --quick example | gzip >...
  4. S

    cron add_line

    Hi, Could someone point me to the current version of the API documentation page for the cron: add_line function? I can only find this page which says it's deprecated: cPanel API 2 Functions - Cron::add_line Thanks,
  5. N

    Clam AV weekly cron job to scan last 7 days of files in home3/* home5/*

    Hello, I am trying to make weekly cron job to scan new files in "home3/*/mail" and "home5/*/mail" folders and to remove them if infected, but only for last 7 days of new files. Currently I have this working pretty good, but it takes too long for it to finish because it scans all files in mail...
  6. R

    run a php file every 10 seconds

    Hello everyone, I need to execute a php file from one every 10 seconds, I can't use cron since it only supports every 1 minute, what solution can you give me?... The example url is this https://www.mylink.com/shop/crons/cron.php
  7. H

    Cron Job not working

    Hello, the Cron Job is not working. I got the Email about snmp-mib not found. I have it installed in cpanel. why does t not work
  8. E

    where is rkhunter cron controlled?

    Many questions about rkhunter here and in other threads, but none answer this basic question... Where is the rkhunter cron information? More specifically, /etc/cron.d holds several files that control various cron jobs using strings like this: My question is: Where is this same information...
  9. F

    Cron Daemon

    Hello I have this message from the server Cron <[email protected]> exim -bp | awk '/^ *[0-9]+[mhd]/{print "exim -Mrm " $3}' | bash > /dev/null 2>&1 /bin/sh: exim: command not found
  10. NEK4TE

    Cron Backup (manual) cPanel script no longer works with Jupiter

    Hello, I have been using this script for couple of years for extra cPanel backups, however, with new cPanel Jupiter theme, this no longer works. Would somebody be able to provide information / help on how to resolvee this and havee this script working again with Jupiter? Time and help is...
  11. W

    cron when using wp cli

    I've installed WP CLI via root. User account has jail shell access. In the console, I can execute WO CLI fine. But when trying to set up a crontab within the user's cpanel - to execute a command from a plugin on a WP CLI site - I get following errors; 0,30 * * * * /usr/local/bin/wp...
  12. 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...
  13. 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...
  14. N

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

    Hello, i see it in the docs of redis: https://redis.io/docs/manual/admin/ 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...
  15. 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...
  16. 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 <[email protected]> /usr/share/clamav/freshclam-sleep ERROR: downloadFile: Unexpected response (403) from https://database.clamav.net/daily-26440.cdiff ERROR: getpatch: Can't download daily-26440.cdiff from...
  17. R

    In Progress CPANEL-39889 - Cron <[email protected]> /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 <[email protected]> /usr/local/cpanel/3rdparty/bin/freshclam --quiet --no-warnings ERROR: getpatch: Can't download daily-26439.cdiff from database.clamav.net ERROR: getfile: Unknown response from...
  18. 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/script.sh >/dev/null 2>&1 but it is for single account and i...
  19. 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)
  20. 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 ./delete_old_emails.sh someuser 12...