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.

Running cronjob written in Perl

Discussion in 'General Discussion' started by S2MDonkey, May 3, 2017.

Tags:
  1. S2MDonkey

    S2MDonkey Registered

    Joined:
    May 3, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    AZ
    cPanel Access Level:
    Root Administrator
    I am currently attempting to run a perl script from cron:
    perl /home2/myuser/public_html/adir/perlscript.pl >/dev/null 2>&1

    And it's not running. It's in the crontab and runs fine from cmd line when ssh'd in ie.
    perl /home2/myuser/public_html/adir/perlscript.pl

    Thoughts?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,163
    Likes Received:
    1,294
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you verify if this system uses CloudLinux with CageFS?

    Thank you.
     
Loading...

Share This Page