Hi Andrew, thanks so much for your tips. yes it can be very hard to find out what the problem is. I tried to write a log function in the schedule task, but it is not outputting the file, and when I use "output" I get an error. The code I used is: <cflog log="scheduletasklog" text="The schedule was updated!" file="/home/honolulu/public_html/output.txt" >
Thanks for the tip on the mail, this is a great idea. I know the email works, as I have sent and received emails on this domain. thanks so much for your tips & help! Johnny Date task has been updated! > Andrew Scott <mailto:[email protected]> > October 21, 2012 9:26 AM > John, > > It can be hard a times to work out what could be causing the problem, and > it sounds like it might be the mail server by what you are saying > below. So > there is a few things you can do, depending on what version of ColdFusion > you are on. > > But you could write your own logger, or use cflog, to maybe create > your own > log file in a folder you have access to. The idea is to confirm if the > code > is running, so by logging entry and exit you could pretty much say the > schedule is running ok, as the hosting provider is saying. > > Another tip is you could create a page that emails, dummy info to the same > email and from the same email to see if that page is sending an email. > As a > starting point, at least with the email being sent manually you can say to > the hosting provider here is the time and date I tried to send it. > They can > check the mail logs to see if the server has rejected it or not, or some > other problem exists. > > John Barrett <mailto:[email protected]> > October 21, 2012 9:13 AM > Hi Andrew, > thanks so much for your reply! > The hosting company asked me to create the output file to see if it > was the schedule task or the mail server that was the problem. I have > done lots of schedule tasks on my Mac & ColdFusion, but this is in > Linux, what a nightmare. I can confirm that the date.cfm is not > throwing any errors. > > thanks! > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5950 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm
