Even tried removing the CFFILE as well as publishing a 
simple cfm file to say OK ALL IS DONE and nothing happens


What service does CFScheduler use? Executive? I know it needs
the APP server to process the cfm file.

>>> [EMAIL PROTECTED] 05/28/03 02:05PM >>>
Check for permission problems in CFFILE.  If the CFFILE were to fail,
the e-mail would never get sent.

Kevin

-----Original Message-----
From: Randell B Adkins [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 28, 2003 10:18 AM
To: CF-Talk
Subject: Scheduler is about to be SHOT!


okay I am almost at the end of my rope here.

I was using the CFSCHEDULE tag to create a dynamic scheduled event to
run.

Here are the particulars:
Server: CF5
Platform: Windows 2000
URL:  http://localhost/test/test_scheduler.cfm 
Directory:  C:\Inetpub\wwwroot\test\
Scheduler time interval is set to every 5 minutes.

** No username or passwords associated to the directory

When using the schedule tag to setup the event, it displays fine
in the CFSCHEDULER in CF Administrator.
** the reason for the template to create the event is there will be
many events scheduled and not hand typed in via CF Admin.

Here is the Scheduled Tag:

<CFSCHEDULE ACTION="UPDATE" 
                TASK="NEW_TASK_ALL_OPTS"  
                OPERATION="HTTPRequest" 
                URL="http://localhost/test/test_scheduler.cfm"; 
                STARTDATE="05/28/2003" 
                STARTTIME="12:30 PM" 
                INTERVAL="Once" 
                RESOLVEURL="No" 
                PUBLISH="No"
                PORT="80">

Now the problem lies here:
I can view the event in CF Admin (looks fine).
At the scheduled TIME, or even 5 or 10 minutes later,
I notice the log entry in the schedule.log file.

However NOTHING was executed....

How do I know this:
two reasons: 
1:  I can run the final manually by copying the URL from CF Admin
(Scheduler) and opening a NEW BROWSER and running the file there.
runs GREAT!

2: No txt file is created.. no email is sent (if ran via CF Scheduler)

Here is the file: test_scheduler.cfm

<CFFILE ACTION="APPEND" FILE="c:\inetpub\wwwroot\test.txt"
OUTPUT="This
was created via the scheduled task." ATTRIBUTES="Normal"
ADDNEWLINE="Yes">

<CFMAIL TO="[EMAIL PROTECTED]" FROM="[EMAIL PROTECTED]" SUBJECT="Test
scheduler" SERVER="outmailserver.gao.gov">
This is a scheduled event that ran on #DateFormat(Now(),
'MM/DD/YYYY')#
at #Timeformat(Now(), 'h:MM:SS TT')#.

</CFMAIL>


ok any suggestions on WHY IN THE H&*^*&^ this will work when ran
MANUALLY but not automatically using the CFScheduler.
When I run it via the 'GO' button in CFAdmin, I get the message back: 
"This scheduled task was completed successfully." and
EVERYTHING happens as coded....

< BAFFLED!!! >








~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to