How do I determine if a scheduled task was ran automatically or ran in a browser?
问题 I am running some code as a scheduled task, setup in CF Administrator. Is there a way to tell in the code that the code ran as a scheduled task, whether it was ran by clicking the run icon in the CF Administrator scheduled task area, or whether it was called directly in a browser? Adding additional variables will not work? 回答1: From the test link in the CF admin If you're asking if you can identify the difference between a scheduled task being run manually by clicking the test link in the