问题
I have python project which has main python file start.py and run.cmd. run.cmd file contains the path of the python on azure web app which is below:
D:\home\Python364x64\python.exe start.py
I created a webjob on azure and with type as Triggered and triggers as schedule. Cron expression I set is 0 */5 * * * * so that it runs every 5 mins for testing purpose. It was getting executed every 5 mins.
Now I have change the cron expression to 0 0 1 * * * so that it runs every 1AM but the problem is it is not getting executed and the logs always says never ran. Can anyone please correct me if I have set the wrong cron expression because for every 5mins it was working but for every 1AM daily its not working. Please help. Thanks
来源:https://stackoverflow.com/questions/52528426/how-to-schedule-python-web-jobs-on-azure