locked
Running my WCF Service at specific time RRS feed

  • Question

  • User755073946 posted

    Hi All, NamasteSmile

    I have hosted my WCF Application, which sends mails to intended recipients, on Server. 

    Client's Requirement was to send mails on Specific time Every Day, say 12PM And 5PM. 

    So i created a windows service, where i am calling my hosted WCF service for sending Mails. 

    And Added a Scheduler Tasks to Run Following Commands to start my Windows Service on said Time: 

    SC START "MyServiceName" 

    Everything is working great and as expected! 

    What i need to know is whether i can run my WCF service from Scheduler Tasks or any other way at Specific Time EveryDay?? Undecided

    P.S.: I wanted you to understand my requirement that's why I explained everything above instead of asking my Query straightaway. 

    TIA.

    Tuesday, October 15, 2013 11:18 AM

Answers

  • User-1662538993 posted

    I think what you explained is correct that you can run your wcf service by windows app or console app.

    You cant run directly it form wcf service by any simple way.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, October 15, 2013 12:40 PM