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!

Add/remove entries with

Discussion in 'General Discussion' started by pingo, Dec 15, 2002.

  1. pingo

    pingo Well-Known Member

    Joined:
    Nov 16, 2002
    Messages:
    428
    Likes Received:
    0
    Trophy Points:
    166
    A client asks if it's possible to use the /usr/bin/crontab to programmatically add/remove entries. Just a basic system('/usr/bin/crontab /path/to/my/crontab_file').

    Will this work ? (not the sytax, just whether or not user-crontabs are editable with /usr/bin/crontab, as he is not sure if CPanel does anything funky). Does anybody here know the answer?

    Thanks
    John
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice