Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to find if a cfschedule task is running

Status
Not open for further replies.

predator

Programmer
Jan 2, 2001
3
US
Hi,
This is what I want to do.
I would like to create a cfschedule page for sending email every few hours.
I would like to have a link in a page for running the 'cfschedule' page. In that page I would like to show if it is already scheduled [ie the task is already in the list].
Is there any way to find out if a task is in the schedule list already??
I mean any return value from cfschedule when u run it?

Thanks for any help.
 
I may be a little confused, but whay not go to CF Admin to see if a task is scheduled? Kevin
slanek@ssd.fsi.com
 
Hi KevinFSI,
I am doing this page for someone who does not have access to the cold fusion administrator.
So I would like to show them the status of the task on the web page..ie.if its already scheduled or not.

thanks.
 
We run several tasks each night. The last thing in our code is a <CFMAIL> that lets us know that the page was run. If we get an e-mail in the morning, we know the page ran successfully. Kevin
slanek@ssd.fsi.com
 
Thanks KevinFSI.
Actually this task just sends email about some information in the database.
So if there is no email..then they'll know its not working.
But I have an administration page for the coldfusion applications and I thought it would be nice to have start and stop for the task to be scheduled and along with that something which shows the status of the task.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top