Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cron expression to run a webjob at 8 am everyday in azure

I actually require an cron expression to automatically restart an app at 8 am every day. for that I have to create an scheduled webjob in azure but i'm not getting the exact cron expression.

like image 937
Apurva Avatar asked Oct 14 '25 23:10

Apurva


1 Answers

According to your description, if you want to created a scheduled WebJob which will fired at 8:00 AM.

I suggest you could try to use below cron.

At 8:00 AM every day: 0 0 8 * * *

More details about how to set the cron, you could refer to this article.

Result:

enter image description here

Besides, if you want to make sure your web jobs will continue worked. I suggest you should enable the "Always On" setting to be enabled on the app.

About how to enable it, you could refer to below steps:

enter image description here

Notice: This technique is available to Web Apps running in Basic, Standard or Premium mode

like image 178
Brando Zhang Avatar answered Oct 17 '25 12:10

Brando Zhang