Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Oct 2004
    Posts
    1

    Unhappy HELP! How to make a cron job in Cpanel?

    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. #2
    Member
    Join Date
    Jun 2004
    Location
    Canada
    Posts
    378

    Default

    type

    crontab -e

    at the command line

    or simply use your cpanel to add the log file using the simple format.
    Sheldon King
    Server Adminisrator
    http://www.forgehosting.com

  3. #3
    Member
    Join Date
    Oct 2003
    Posts
    1,020

  4. #4
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    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.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

Similar Threads & Tags
Similar threads

  1. cPanel cron job
    By attroll in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 08-23-2011, 04:26 PM
  2. Cpanel cron job..
    By VARMA457 in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 07-24-2009, 07:51 PM
  3. Help Setting a cPanel Cron Job
    By wczone in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-17-2007, 03:48 PM
  4. how to make a cron job
    By rebelo in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 09-11-2003, 03:59 AM
  5. Cron Job in CPanel 7
    By seahorse in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-14-2003, 09:14 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube