Skip to main content
Inspiring
Oct 10, 2018 1:34 PM UTC
Question

schedule task

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 is closed to new replies. Start a new post to keep the conversation going.

    13 replies

    EddieLotter
    Inspiring
    Oct 10, 2018 2:42 PM UTC

    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.

    Translate
    kt03Author
    Inspiring
    Oct 10, 2018 2:49 PM UTC

    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.

    Translate
    EddieLotter
    Inspiring
    Oct 10, 2018 2:54 PM UTC

    For this test, the credentials don't matter.

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

    Translate
    EddieLotter
    Inspiring
    Oct 10, 2018 1:50 PM UTC

    kt03  wrote

    I didn't get anything.

    What are you expecting to get?

    Translate
    kt03Author
    Inspiring
    Oct 10, 2018 2:07 PM UTC

    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.

    Translate
    EddieLotter
    Inspiring
    Oct 10, 2018 2:11 PM UTC

    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?

    Translate