retrieving cfschedule values

Posted on 2005-03-24
Medium Priority
Last Modified: 2013-12-24
I am writing a coldfusion app which needs to allow users to flexibly schedule certain events. Scheduling the task is of no issue, but I want to provide the user with the ability to edit the task once its been set. How do I query the current schedule values by taskname from coldfusion?

Worth 500 points.

Question by:richardsimnett
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 21

Accepted Solution

pinaldave earned 2000 total points
ID: 13628006
Hi richardsimnett,
just to give you head start. The Scheduler configuration file, cf_root\lib\neo-cron.xml contains all scheduled events, as individual entries.
This is the file needs to be parse to get the list of all the schedulled task. I once had to do this but never got it done as I was new to CF and found it is difficult to parse it.
Let us see what other experts suggest.


Author Comment

ID: 13628872
Well parsing that document is easy. Simply open the file with cffile. Then, use XMLParse (CFMX) to translate it it into a searchable xml document, and then use XMLChildPos to find out the indexes of the elements you are looking for.

Thanks for the info. It was easy it incorporate once I knew where to get the information from.

LVL 21

Expert Comment

ID: 13630480
Rick thank you for completing my half given answer with your comment. This will help future asker. I was new when I new to CF when I was trying to do so I was scared to death :)
Thanks and good day,

Featured Post

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question