Cron job from website help

Avatar
  • Answered
Hi
I have a PHP script that gets a webpage and saves it as a file. I want to run it once a week which I.know how to set. To invoke it I think I use wget URL/script.php
Is this correct? Just asking because I haven't done this before and don't want to cause a problem.
Thanks
Avatar
IMH Support Agent 5
Hello,

Thank you for your question about cron jobs. That looks like it will get you the desired result. However, you may want to test it first by running the command by itself in a terminal.

Best,
Christopher M.