Cron Jobs

Discussion in 'Free Hosting' started by inthemaf, Jan 7, 2017.

  1. inthemaf

    inthemaf New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hello everyone.

    Sorry to bother you all. Can anyone tell me if on a free account you can create a cron job?

    I am looking to run the following command

    5. Ask your host to perform this command for you (replacing YOURDOMAIN and YOURSECURITYTOKEN with your actual domain name and security token which you set in include/config.php):
    * * * * * wget -q 'http://YOURDOMAIN.com/private/cron-run.php?security_token=YOURSECURITYTOKEN' -O /dev/null

    Any advice would be appreciated.
     
  2. Dead-i

    Dead-i x10Hosting Support Ninja Community Support

    Messages:
    6,084
    Likes Received:
    366
    Trophy Points:
    83
    Hi,

    Yes; you can configure Cron Jobs by switching to the cPanel x3 theme and then going to the Cron Job tab but please remember you cannot run more than 1 job in 5 minutes. The line you pasted would run every 1 minute; please change it to every 5 minutes when you're adding your cron job, or it will be automatically removed.
     
  3. inthemaf

    inthemaf New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Thank you very much for your help Dead-i!
     

Share This Page