How to get list of scheduled tasks and last run results in ColdFusion?

后端 未结 3 1375
离开以前
离开以前 2021-02-02 12:57

We\'re trying to build a dashboard for our cron jobs ---- CF, Java, SQLServer, etc. so that we can see when things were run last, what the result was, and when they\'re schedule

3条回答
  •  轮回少年
    2021-02-02 13:28

    I did a little research into this for you. I found a somewhat older reference that is still valid, at least in CF8 and presumably in CF9 as well.

    
    
    
        
    
    

    From http://www.bpurcell.org/blog/index.cfm?mode=entry&ENTRY=935

    This answers your questions #1 and #4. As for #3, there can be no answer to that. ColdFusion's scheduled task engine is just loading up the specified URL at the prescribed time. There is no success or fail -- it simply performs an HTTP request.

    Hope this helps.

提交回复
热议问题