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.

HELP! How to make a cron job in Cpanel?

Discussion in 'General Discussion' started by EarthIndex, Oct 7, 2004.

  1. EarthIndex

    EarthIndex Registered

    Joined:
    Oct 7, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I need to make a cron job using CPanel to run a PHP file that has to include a username and password. Does anyone know how to do this?
     
  2. Sheldon

    Sheldon Well-Known Member

    Joined:
    Jun 7, 2004
    Messages:
    378
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    type

    crontab -e

    at the command line

    or simply use your cpanel to add the log file using the simple format.
     
  3. SarcNBit

    SarcNBit Well-Known Member

    Joined:
    Oct 14, 2003
    Messages:
    1,010
    Likes Received:
    3
    Trophy Points:
    38
  4. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    I'm not certain, but I think the question is, how do I include variables in the cron job?

    I remember I had to figure that out a while back but ended up just putting the variables in the script.
     
Loading...

Share This Page