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.

cPSupport - .crontab

Discussion in 'cPanel Developers' started by lgbjr, Aug 16, 2005.

  1. lgbjr

    lgbjr Registered

    Joined:
    Aug 16, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hello All,

    I just installed cPSupport. The installation went fine and everything seems to be working, except...

    I the install log:

    no crontab for lgbjr
    .crontab: No such file or directory

    where does cPSupport expect to find the .crontab file? In /home/<user>?

    Easy enough to create the .crontab file, but I don't really want to uninstall and reinstall just to get the .crontab entries, so can somebody post the contents of the .crontab (related to cPSupport)

    Thanks in Advance!!

    Lee
     
  2. brentp

    brentp Well-Known Member

    Joined:
    Mar 11, 2004
    Messages:
    324
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Ayr, North Queensland, Australia
    Well, when cpsupport is set up, the installer does `crontab -l` and puts it into an array (for argument sake, lets say @oldcron). Then the installer 'pushes' an entry for cPSupport into the array and then writes the array to .crontab. Then the installer executes 'crontab .crontab'.

    Regards,
    Brent
     

Share This Page