Cron Job Help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Crimzon
    Junior Member
    • Apr 2004
    • 13

    #1

    Cron Job Help

    I need some help setting up a cron job, since I've never done this before could someone show me the settings to execute a php script at 3am once every 1 or 2 weeks. Thanks (This is for the php backup script which is used here)
  • -Oz-
    Senior Member
    • Mar 2004
    • 545

    #2
    I would reccomend using the non-advanced part of cron jobs via cpanel, it makes it pretty easy to setup.

    Also, the FAQ on this backup script has a cron-job ready made (not for your desires though).
    Dan Blomberg

    Comment

    • Crimzon
      Junior Member
      • Apr 2004
      • 13

      #3
      That's the backup script which i'm using, the one in the FAQ but i'm still unsure on how to set it to execute the script every 1 or 2 weeks in cpanel.

      The FAQ says how to do it every day at 3am but not for 1 or 2 weeks at 3am.
      Last edited by Crimzon; 05-27-2004, 01:56 AM.

      Comment

      • Andy
        Senior Member
        • Mar 2004
        • 257

        #4
        As OZ said, you the non-advanced. You pick when you want to run the cron.

        To execute the script i think its...
        php /home/username/public_html/path/to/filename.php
        Andy

        Comment

        Working...