Azure Scheduled Web job is triggering twice sometimes

Naveen Yamparala

We have an Azure WebJob which is scheduled to run at 8:00 AM UTC daily(CRON - 0 00 08 * * *).Most of the days it is triggering correctly but on some days it is triggering twice (Second run is occurring ~10 secs after first run ). I can see in the web job history that when it triggered twice,first run's trigger property(from WebJob History JSON) is showing as "External - " and second run trigger property is showing as "Schedule - 0 0 8 * * *" but we don't have any external services triggering this WebJob.

When i checked the Job scheduler log for more details, "Web Job Invoked" status is only present for those days when the webjob got triggered twice.

David Ebbo

Your problem appears to be that you appear to have two different things triggering your WebJob:

  1. You probably have a settings.job (wiki) with a cron expression.
  2. You may also have an Azure Scheduler Job Collection hitting your WebJob from the outside (possibly with a different schedule, which is why they don't always match).

Suggestion is to get rid of #2, and only keep the internal WebJobs scheduling via settings.job.

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

Jenkins scheduled job

分類Dev

WinForms sometimes appear twice and sometimes once

分類Dev

Spring application URL in scheduled job

分類Dev

Scheduled and triggered jobs in Azure

分類Dev

triggering another jenkins job from jenkinsfile in pipeline

分類Dev

does manual triggering of a airflow DAG interfere with the scheduled airflow trigger?

分類Dev

Keep a scheduled cron job from repeating on failure

分類Dev

How to prevent ng-click's triggering twice on label tag?

分類Dev

inotifywait triggering event twice while converting docx to PDF

分類Dev

Spring scheduled cron job running too many times

分類Dev

Does a job scheduled in crontab run even when I log out?

分類Dev

How do I stop a scheduled local notification from triggering after a particular date?

分類Dev

Web content is rendered twice in ChromiumFX

分類Dev

Azure triggered webjob not triggering when there are message in azure service bus

分類Dev

.Net Core / Azure Web Jobの例が機能しないのはなぜですか?

分類Dev

Can I use an excel file twice in one Talend job?

分類Dev

Azure webapp to elasticsearch, sometimes "A connection attempt failed" on azure

分類Dev

Is it possible to pass Kubernetes Cronjob status.lastScheduleTime timestamp to the container of scheduled job?

分類Dev

Deadlock while purging old records of spring batch job tables at scheduled time using shedlock

分類Dev

Why my cron job is running every minute when it is scheduled to run every hour?

分類Dev

cmake 3.15add_custom_commandへのJOB_POOLの追加SOMETIMES

分類Dev

Hangfire job on Console/Web App solution?

分類Dev

Azure Web Publish

分類Dev

Why does my continuous azure webjob run the function twice?

分類Dev

Triggering an Azure Pipeline build after multiple other pipelines have all completed

分類Dev

Triggering Code when a specific value is inserted into a table column in an Azure SQL Table

分類Dev

Azure DevOps unable to deploy to Azure Web App

分類Dev

Is there a way to cancel ALL scheduled messages in azure service bus topic without knowing their sequence numbers?

分類Dev

Deleting asset and transform job (Azure Media Services v3)

Related 関連記事

  1. 1

    Jenkins scheduled job

  2. 2

    WinForms sometimes appear twice and sometimes once

  3. 3

    Spring application URL in scheduled job

  4. 4

    Scheduled and triggered jobs in Azure

  5. 5

    triggering another jenkins job from jenkinsfile in pipeline

  6. 6

    does manual triggering of a airflow DAG interfere with the scheduled airflow trigger?

  7. 7

    Keep a scheduled cron job from repeating on failure

  8. 8

    How to prevent ng-click's triggering twice on label tag?

  9. 9

    inotifywait triggering event twice while converting docx to PDF

  10. 10

    Spring scheduled cron job running too many times

  11. 11

    Does a job scheduled in crontab run even when I log out?

  12. 12

    How do I stop a scheduled local notification from triggering after a particular date?

  13. 13

    Web content is rendered twice in ChromiumFX

  14. 14

    Azure triggered webjob not triggering when there are message in azure service bus

  15. 15

    .Net Core / Azure Web Jobの例が機能しないのはなぜですか?

  16. 16

    Can I use an excel file twice in one Talend job?

  17. 17

    Azure webapp to elasticsearch, sometimes "A connection attempt failed" on azure

  18. 18

    Is it possible to pass Kubernetes Cronjob status.lastScheduleTime timestamp to the container of scheduled job?

  19. 19

    Deadlock while purging old records of spring batch job tables at scheduled time using shedlock

  20. 20

    Why my cron job is running every minute when it is scheduled to run every hour?

  21. 21

    cmake 3.15add_custom_commandへのJOB_POOLの追加SOMETIMES

  22. 22

    Hangfire job on Console/Web App solution?

  23. 23

    Azure Web Publish

  24. 24

    Why does my continuous azure webjob run the function twice?

  25. 25

    Triggering an Azure Pipeline build after multiple other pipelines have all completed

  26. 26

    Triggering Code when a specific value is inserted into a table column in an Azure SQL Table

  27. 27

    Azure DevOps unable to deploy to Azure Web App

  28. 28

    Is there a way to cancel ALL scheduled messages in azure service bus topic without knowing their sequence numbers?

  29. 29

    Deleting asset and transform job (Azure Media Services v3)

ホットタグ

アーカイブ