Issue
I'm developing an ASP.NET web application. There is some functionality I need to trigger every 10 minutes. So currently I'm considering a 'scheduled task' or to create a Windows service to call the URL.
But I remember once I did the same thing in a PHP web hosting space, using a cron job.
So is there anything like cron jobs in IIS?
Note: I'm not expecting to use 3rd-party online scheduler services.
Solution
Apples and oranges. cron
is a Unix service. IIS is a web server. Just as cron
is not included in Apache or nginx, there is no sense in which IIS contains a scheduler. However, you can use schtasks.exe
in a similar way you can use cron
on Unix.
You might find more ideas in this question.
Answered By - Amadan Answer Checked By - Marie Seifert (WPSolving Admin)