View Single Post
Old 04-21-2013, 04:22 PM   #26
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
If all you need to do is click something to update your catalog, use Windows Explorer to go to the install folder, right-click on run.cmd (NOT rungui.cmd) and select Create Shortcut. Drag the resulting "Shortcut to run.cmd" to your Desktop and click that instead of the usual calibre2opds launcher when you just want to update. Launching from that will, instead of opening up the usual GUI for setting everything up, merely open a Command Prompt window with a bunch of text scrolling down, representing the program.

To schedule the task with the Windows Task Scheduler, well, I've never actually used it (I got converted to linux first!), but I can offer the following possibly helpful link: HowToGeek.com - Using Windows Scheduled Tasks. The important thing to remember is the right path to the right file (I noticed you said you used the rungui.cmd - that opens up what you usually use. The run.cmd file is the one you need to make it run.)

Also I looked around on Google, and it seems that if use a batch script (meaning a .cmd or .bat file) without specifying the
Quote:
Start in (optional): _______________
field as being the folder that contains the .cmd file, it will mysteriously fail. (But a program, using a .exe, works just fine.) As we are using a .cmd here, make sure that that box contains "C:\Program Files\calibre2opds" or wherever calibre2opds was installed to.

Last edited by eschwartz; 04-23-2013 at 02:19 AM.
eschwartz is offline   Reply With Quote