Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cronjob Emails Question

Discussion in 'General Discussion' started by Goran.Siriev, Dec 28, 2016.

Tags:
  1. Goran.Siriev

    Goran.Siriev Member

    Joined:
    Mar 9, 2016
    Messages:
    12
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    greece
    cPanel Access Level:
    Website Owner
    my cronjob
    /home/xxxx/monitor/monitor.sh >/dev/null 2>&1

    Cpanel not stop spam ... how to stop this?
    Code:
    
    ---------- Forwarded message ----------
    From: "(Cron Daemon)" <root@cpanel.xxxxx.com>
    To: root@cpanel.xxxxx.com
    Cc:
    Date: Wed, 28 Dec 2016 08:20:01 +0100
    Subject: Cron <root@server> /home/xxxxx/monitor/monitor.sh
    
     
    #1 Goran.Siriev, Dec 28, 2016
    Last edited by a moderator: Dec 28, 2016
  2. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    569
    Likes Received:
    40
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Could you please update here following commands output ?

    Code:
    crontab -l -u cPUSER
    
    ls -ld /home/cPUSER/monitor/monitor.sh
     
  3. Goran.Siriev

    Goran.Siriev Member

    Joined:
    Mar 9, 2016
    Messages:
    12
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    greece
    cPanel Access Level:
    Website Owner
    Code:
    * * * * * /home/cUSER/monitor/monitor.sh >/dev/null 2>&1
    
    
    root@server [/home]# ls -ld /home/cUSER/monitor/monitor.sh
    -rwxrwxr-x 1 cUSER cUSER 793 Dec 16 08:44 /home/cUSER/monitor/monitor.sh
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,659
    Likes Received:
    1,428
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you let us know the entry in the /var/log/cron log file that appears when this cron job runs?

    Thank you.
     
Loading...

Share This Page