Can anyone help me? I just need to call a php script from my server once in a hour on every day. I know that i can do i with a cronjob? Is that right? How do i manage to achieve this?
asked 18 May '11, 04:37
To edit your cronjobs, execute this command:
Then you have two options. If your PHP script as executable rights (CHMOD 755), you should be able to simply call the script:
Just as reminder, the crontab format is: minute hour day month weekday command. So in this case we ask the cron to launch the script every week day, every day and every hour at HOUR:00 (08:00, 09:00, etc.).
If you want more info about crontab, you can go here: http://unixhelp.ed.ac.uk/CGI/man-cgi?crontab+5.
answered 19 May '11, 03:46
enter the correct format
answered 10 Nov '12, 12:21