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!

Scheduler in CF Admin

Status
Not open for further replies.

Sarky78

Programmer
Oct 19, 2000
878
GB
I have set up the CF Admin Scheduler to run a CF page, every hour, on every day. The page will write information that it retrieves to a database. When i run the page normally it does what i expect it to do (writes the returned data to the database) when the scheduler runs the page nothing is written to the database, i have looked at the log report, and there is an entry for each of the scheduled requests and all of them are saying that they were sucessfull.

Any ideas ??
 
Since you've verified the script is running, I would modify the scheduled task to write the output to a file. Inside your script, I would then output info at various points to see where the problem is. If you're retrieving information from a database, output the recordcount. If you're reading information from a text file, output the file path, the contents of the file, etc... to help spot where it's failing. If the database update is failing due to an error, you should see the specific error in the saved output as well.

Hope this helps,
GJ
 
thanks for you help again, but i have sorted it. the code was fine it was the path in the administrator that i had got wrong. This is strange. I had got the wrong path, so the file could not be found, but the log file for the scheduler was saying that it was sucessful !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top