How to setup a url as cron job
I want to schedule a url to run every minutes. i think we can do this in linux by setting a cron job.
Add Comment
The task that is to be executed is known as a cronjob, and crontab can be defined as a table that stores the list of cronjobs that are being executed in a system. (The word “Cron”derived from “Chronos” which in greek means “Time” and “Tab” refers to “Table”. So crontab effectively means timetable).
you can try this to run a url http://example.com/test
* * * * * wget http://example.com/test
* * * * * wget http://example.com/test
This will run every minute.
Reference:
http://www.blog.eduguru.in/linux-2/linux-cron-job-schedule-job-in-linux-crontab