Skip to main content
Participant
August 26, 2009
Question

Coldfusion task scheduler

  • August 26, 2009
  • 2 replies
  • 3534 views

I have been forced to migrate a coldfusion program to windows server for authentication security purposes.  I need to continue to use the task scheduler.  Security concerns also do not allow me to use IE to kick-off the coldfusion task scheduler.  If there any way to kick it off using a script without using a browser?

    This topic has been closed for replies.

    2 replies

    BKBK
    Community Expert
    Community Expert
    August 26, 2009
    any way to kick it [the coldfusion task scheduler] off using a script without using a browser?

    Yeah, sure. <cfhttp url="url_of_page_containing_cfschedule_tag">

    ilssac
    Inspiring
    August 26, 2009

    I presume that the cfml file that contained the <cfhttp....> line of code would need to be run by something nominally a browser.

    But that did make me think that there are comand line tools that allow one to make http requests, curl is a common one I believe.

    ilssac
    Inspiring
    August 26, 2009

    What type of task with what type of scheduler?

    If you are talking about a ColdFusion scheduled task, then IE has nothing to do with it, excep tthat IE is a common choice to use the ColdFusion Administrator portal web application to fill in the scheduled task form to configure a ColdFusion sceduled task.

    The latest versions of ColdFusion also have the <cfscheduledtask...> tag that can do the same things that the Administrator form does, but it still needs to be run within a browser, IE or otherwise at least once.

    Your comments about security concerns involving IE and ColdFusion scheduled tasks does not make much sense.

    as2210Author
    Participant
    August 26, 2009

    The built-in task manager was what ran coldfusion tasks until another layer of authentication became required.  The application was then placed on windows server.  We are attempting to use scripting to set off the existing tasks in coldfusion.  Due to security concerns, IE is not allowed to be run on the server.  I realize that the security concerns don't make much sense but just understand that I work somewhere that they do (I guess).  Basically, you are saying that there is no scripting from windows that will kick-off the existing tasks in the coldfusion task manager that will not use an Internet browser?

    ilssac
    Inspiring
    August 26, 2009

    You have some very strange requirement here that will need to be explained very well as they sure sound like they are counter to how ColdFusion works.

    What do you mean by "fire off" the schedule task.  If the task is scheduled it will be fired of by ColdFusion.  So it is a matter of defining the scheduled task.  There are to main ways one can define the scheduled task.  One can complete the form in the ColdFusion Administration portal, or one can run a CFML page with a <cfappplicaiton...> tag in it.  There is a third option I suppose, which is to try and edit the XML file where the configurations for scheduled tasks are stored, but this one would scare me personally.

    What do you mean by a security requrimet for another layer of authentication?