A2EScheduler Question

tstrelt's Avatar

tstrelt

16 Jun, 2010 01:35 PM

I would like to have the A2EScheduler running as a service - is it possible to convert it to a windows service and still be able to open it to view jobs and their status? I do not want a user to have to be logged in to run the Scheduler, nor do I want the user logging off to terminate A2EScheduler jobs. Anothe roption - can I schedule it as a scheduled task to run on computer startup? I haven't been able to find any documnetation regarding Scheduler - if you have it please point me in the right direction.

Thank you,

Tracie

  1. Support Staff 2 Posted by bFlood on 16 Jun, 2010 03:36 PM

    bFlood's Avatar

    hi tracie

    1) service - we are working on moving the Scheduler into a full windows service, it is not available right now but it should happen in next couple of months. The issue has always been trying to get ArcGIS code to run in the less privileged accounts that are usually used by services. This is even worse in Vista/Windows 7 but we are making progress and it is definitely something we will be supporting (for example, to automatically keep tile caches in a Cloud up to date, we need to run both layer sync and tile cutting from a service)

    2) in the short term, you can use a WIndows scheduled task with the new command line exporter (A2EExporter.exe). You can set the params directly in the task or create a simple bat file that is called by the task. In fact, all the A2E Scheduler does is call A2EExporter.exe with the proper params when needed.
    The command line help is here: http://bit.ly/6CZHfz (look towards the bottom for example syntax)

    cheers
    brian

  2. 3 Posted by Dion Duran on 15 Nov, 2011 09:36 PM

    Dion Duran's Avatar

    I'd like to second the scheduler as a service. I am running into the same issues of hoping someone doesn't log me out of the dedicated workstation and killing the scheduled jobs. As Brian mentioned, I could use the exporter alone, but I don't get the advantage of executing a script after the bat file completes.
    Thanks.

  3. Support Staff 4 Posted by bFlood on 18 Nov, 2011 12:27 PM

    bFlood's Avatar

    hi dion

    there are really a lot of issue with running ArcObjects code from a service, MS has locked down a lot of what you used to be able to do. It's unlikely the Scheduler will run as a service in the near future

    the command line Exporter does return a simple code (0 success, other for error code) so you could chain together exports using your own script (in fact, thats what several of our larger clients do for tile exports)

    cheers
    brian

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.