hi
i have a piece of code that runs fine if i navigate direct to the page
when i set it up as a scheduled task it doesnt run even though the
scheduler.log is telling me that it executed
i have checked that it is pointing to the correct file but cannot seem to work
out why the code isn't
Does your page require any sort of login?
thanks ben but no, no login required its just a piece of code that is running.
i have also checked the exception logs and no errors are being generated. i
even try to save a string to a text file on the very first line just to see if
it is firing
I would recommend hitting the page via CFHTTP and see what's in the
response. I believe that CFHTTP is the same mechanism through which the
ColdFusion Admin actually runs scheduled tasks.
--
Ben Nadel
Adobe Community Expert
Adobe Certified Advanced ColdFusion Developer
Manager New York
Ben Nadel wrote:
I would recommend hitting the page via CFHTTP and see what's in the
response. I believe that CFHTTP is the same mechanism through which the
ColdFusion Admin actually runs scheduled tasks.
Well they both use the same internal 'browser' to access HTTP resources
anyway.
You
Does your page require any sort of login? The schedule does not send any
cookies AND it sends ColdFusion as the user agent. If you do any sort of
checking on that sort of thing, the script wont execute properly.
--
Ben Nadel
Adobe Community Expert
Adobe Certified Advanced ColdFusion Developer
Richard White wrote:
is there anywhere else i could look to see why it is not running
Set a file to record the response from the schedule task. Any response
including HTTP status OR CF errors are a successful run according to CF.
97.894% of the time, the problem as described is a URL that is
Ian,
I've never used that feature. It sounds really useful! I will have to look
into it.
--
Ben Nadel
Adobe Community Expert
Adobe Certified Advanced ColdFusion Developer
Manager New York ColdFusion User Group
http://www.bennadel.com
Need ColdFusion Help?
http://www.bennadel.com/Ask-Ben
Does your page require any sort of login?
thanks for your replies,
you was right in the first place ben! although the page didnt need a login,
there is code in the application.cfc onRequestStart that routes any request
back to the login page if the user is currently not logged in. hence it
If I run the template from the browser it works properly (using the servers
domain name)
Adkins, Randy [EMAIL PROTECTED] schrieb: Sounds like a DNS issue not a CF
Scheduler issue.
What happens if you run the template manually using your browser?
Can you use the Domain Name to access any other
Are you running it from a browser on your local machine or the server? You
need to try it on the server if possible.
- Original Message -
From: George Owns [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Friday, October 06, 2006 7:51 AM
Subject: RE: Scheduler Problem
I've tried to run it from the server, but it doesn't work. It throws an error:
Windows can not find serverDomain ...
Gareth Hughes [EMAIL PROTECTED] schrieb: Are you running it from a browser on
your local machine or the server? You
need to try it on the server if possible.
: Scheduler Problem
I've tried to run it from the server, but it doesn't work. It throws an
error:
Windows can not find serverDomain ...
Gareth Hughes [EMAIL PROTECTED] schrieb: Are you running it from a browser on
your
local machine or the server? You
need to try it on the server if possible
Actually I think it is called LMHOST now, but I could be wrong.
I know on Windows XP workstations it is lmhost.sam files.
-Original Message-
From: Gareth Hughes [mailto:[EMAIL PROTECTED]
Sent: Friday, October 06, 2006 4:21 AM
To: CF-Talk
Subject: Re: Scheduler Problem
Then it is a DNS
Actually I think it is called LMHOST now, but I could be wrong.
I know on Windows XP workstations it is lmhost.sam files.
No, it's still hosts. The lmhosts file is for WINS resolution. The
lmhosts.sam file is a sample lmhosts file. You may need to create hosts
and/or lmhosts if they don't
Gotcha! Thanks for the clarification!
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Friday, October 06, 2006 9:05 AM
To: CF-Talk
Subject: RE: Scheduler Problem
Actually I think it is called LMHOST now, but I could be wrong.
I know on Windows XP workstations
Its still 'hosts'. lmhosts is basically the same thing but for WINS
resolution.
-Original Message-
From: Adkins, Randy [mailto:[EMAIL PROTECTED]
Sent: Friday, October 06, 2006 8:30 AM
To: CF-Talk
Subject: RE: Scheduler Problem
Actually I think it is called LMHOST now, but I could
Hi,
I'm working on a internal CF7 development server here.
My problem is:
Let's say i've got a template called 'template.cfm' in the main root.
If I want to schedule a task by using the url of the server like:
http://test.server.com/template.cfm
Coldfusion throws an error if I want to run this
-talk@houseoffusion.com
Sent: Thursday, October 05, 2006 10:04 AM
Subject: Scheduler Problem
Hi,
I'm working on a internal CF7 development server here.
My problem is:
Let's say i've got a template called 'template.cfm' in the main root.
If I want to schedule a task by using the url of the server
, 2006 5:04 AM
To: CF-Talk
Subject: Scheduler Problem
Hi,
I'm working on a internal CF7 development server here.
My problem is:
Let's say i've got a template called 'template.cfm' in the main root.
If I want to schedule a task by using the url of the server like:
http://test.server.com
I just converted to MX7 and some of my scheduled tasks are not running.
I can cut and paste the URL from admin into a web page and they run
fine. When I click run in the scheduler it says This scheduled task was
completed successfully., but it doesn't actually run. The very first
thing I do in the
Is there anyway to tell when the next time ColdFusion thinks (used
loosely) that a job is supposed to be run?
My problem is that I have a job that has a start date of Aug 6, 2003 and is
scheduled to run monthly at 4:00 am.It actually runs on the 1st of each
month at 4:00 am.
I also have
? ;-)
-Original Message-
From: DURETTE, STEVEN J (AIT) [mailto:[EMAIL PROTECTED]
Sent: 02 October 2003 14:01
To: CF-Talk
Subject: ColdFusion Scheduler problem
Is there anyway to tell when the next time ColdFusion thinks
(used
loosely) that a job is supposed to be run?
My
-Original Message-
From: Craig Dudley [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 02, 2003 10:54 AM
To: CF-Talk
Subject: RE: ColdFusion Scheduler problem
You could always run an external scheduler, windows scheduled tasks
works fine for us, just fire off wget to a specific cf template
Sorry please ignore. Its ok now. There was some mislinks that's why
scheduler cannot run.
-Original Message-
From: JAIME HOI [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 05, 2002 4:45 PM
To: CF-Talk
Subject: Scheduler Problem : 500 Internal Server Error
hi all
i'm
Hi all,
CF 4.5.1 SP2
Win 2K Server
Local intranet
I put a task in the Scheduler via the Admin page.
(It uses cf_mail to send a test alpha pager message to a small group, with a
corresponding confirm message to their mailbox.)
Start date, no End date.
Recurring daily at 11:00:00
Operation:
FYI, I *think* I found the problem --
Sorry, I guess I didn't understand from the log that the task WAS submitted
successfully, but the MAIL message failed.
When I thought to check the mail.log file, I found: SMTP server replied
Unable to connect to mail server.
Looks like our corporate
26 matches
Mail list logo