Skip to main content
Inspiring
October 10, 2018
Question

schedule task

  • October 10, 2018
  • 2 replies
  • 1970 views

Hi,

I created the schedule runs every 30 minutes.  It shows the last run in Oct-10-2018 08:20:00AM, but I didn't get anything.  I then click on the green icon to manually run the schedule task and it was  was completed successfully, but again, I didn't receive anything.  I then try to manually copy the url and run it in the browser and it worked.

Can anyone please help?

    This topic has been closed for replies.

    2 replies

    EddieLotter
    Inspiring
    October 10, 2018

    kt03  wrote

    I then try to manually copy the url and run it in the browser and it worked.

    Are you doing that on you workstation or on the server?

    You need to log into the server and use a browser on the server to test accessing the URL.

    It is possible that the address is working from a workstation, but not on the server itself. You can try to use "localhost" for the ColdFusion task, since the task is running on the server.

    kt03Author
    Inspiring
    October 10, 2018

    I was try on my workstation.  Not sure which credentials I will try on the server?, mine credentials?, or the one I used to create the datasource?  IIf I use mine, got error below.  I think i should try with the datasource credentials?

    HTTP Error 401.1 - Unauthorized

    You do not have permission to view this directory or page using the credentials that you supplied.

    EddieLotter
    Inspiring
    October 10, 2018

    For this test, the credentials don't matter.

    Did you test using "localhost" instead of the domain in the URL?

    EddieLotter
    Inspiring
    October 10, 2018

    kt03  wrote

    I didn't get anything.

    What are you expecting to get?

    kt03Author
    Inspiring
    October 10, 2018

    I am testing to send email to me

    <cfmail

                to="hmyemail@.com"

                from="no-reply@test.com"

                subject="***TEST  TEST"

                type="html">

    </cfmail>

    I save the file into log to find out if permission related it.  The log show No authentication........  I wonder why, because some other tasks were actually ran successful with the data.

    EddieLotter
    Inspiring
    October 10, 2018

    kt03  wrote

    I save the file into log to find out if permission related it.  The log show No authentication........ 

    What specifically is not authenticated?