Results 1 to 2 of 2

Threaded View

  1. #1
    Join Date
    Nov 2005
    Location
    Virgil, NY
    Posts
    5,986

    Default A Windows Task Scheduler task to update the ASCOM minor planet database

    Here are the files to use for updating the Minor Planet database using Windows Task Scheduler.

    This task runs unattended. Because the process takes 5-10 minutes a command shell window has time to appear, showing the progress of the process. There are no modal dialogs and no command shell responses to deal with. The command shell window closes by itself at the end of the process. Like many other Windows-scheduled tasks, you won't know it's run unless you happen to be watching the computer monitor at the time.

    Unzip the attached file. Drop all three files (.bat, .js, and .wsf) into the C:\Program Files (x86)\Common Files\ASCOM\MPCORB folder.

    In the Windows search bar type "Task Scheduler." On the right-hand panel of the Task Scheduler window, click near the top on "Create Basic Task" and follow along in each dialog. The action should be "Start a Program." There, browse for and select "C:\Program Files (x86)\Common Files\ASCOM\MPCORB\UpdateMPFile.bat". The .bat file is used because it has to run the UpdateMPFile.js script, which does all work, using "cscript." Select a time of day that suits the observing schedule.

    The Minor Planet Center (https://minorplanetcenter.net/data) says the comet database is updated every day at about midday UT. Daily update would be a good idea if minor planets are your thing.
    Attached Files Attached Files
    Dick
    www.VirgilObservatory.us
    Pier-mounted Meade 12-inch SCT "classic"
    Optec TCF-S focuser
    SBIG CFW-8A and ST7-XMEv
    H-alpha, BVRI, RGB & Clear filters
    FOV ~15’ x 10’



 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. PowerShell Script to Update MPC Databases - Run on W1ndows Task Scheduler
    By Tim Long in forum Add-Ons, Enhancements, and Helper Components
    Replies: 2
    Last Post: Sep 4, 2019, 14:53

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •