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.

Asked on April 20, 2018 in info.
Add Comment
1 Answer(s)

    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
    
    

     

     

    Answered on April 21, 2018.
    * * * * * 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
    
    on April 21, 2018.
    Add Comment

    Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.