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.

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:
    430
    Likes Received:
    0
    Trophy Points:
    16
    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
     
Loading...

Share This Page