05-21-2014, 10:35 PM | #46 |
Grand Sorcerer
Posts: 12,191
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
I might have missed some of the points here but I've just tested here (albeit with one caveat; I was doing it WITH a user logged on to the PC; however, I was NOT seeing the calibre icon on MY system tray).
I scheduled a news download in calibre for 10:30 PM. I stopped calibre. I created TWO tasks Code:
Name: Test-Calibre When running the task use the following user account: Peter-W7\Peter Run whether user is logged on or not Triggers: Daily @ 10:15 pm Actions: Start a program "C:\Program Files\Calibre2\calibre.exe" Arguments: --start-in-tray Settings: Allow task to be run on demand If the task is already running then Do not start a new instance Code:
Name: Test-Stop-Calibre When running the task use the following user account: Peter-W7\Peter Run whether user is logged on or not Triggers: Daily @ 10:30 pm Actions: Start a program "C:\Program Files\Calibre2\calibre.exe" Arguments:--shutdown-running-calibre Settings: Allow task to be run on demand If the task is already running then Do not start a new instance Monitoring via pslist -t initially I see a calibre process running under a taskeng, then a calibre-parallel under the calibre. Monitoring my calibredb directory I see a new book being added under the calibre author; for a period of time after the download completes both calibre and calibre-parallel are still present. Eventually a second instance of calibre starts (the second job) and then both instances of calibre terminate. |
05-21-2014, 10:45 PM | #47 |
creator of calibre
Posts: 43,881
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@JayKindle: your problems are almost certainly related to your windows configuration. Most likely your tasks are running under different user accounts, which is why things aren't working. --shutdown-running-calibre will only work if it is run in the same user account as the other instance of calibre. And note that just because you only created a single user account does not mean there dont exist other user accounts on the system. Modern OSes typically have multiple accounts in which to run background services, for privilege sepaaration and security.
And also note that calibre has no memory leaks when you leave it running. There was a memory leak a while ago, that was fixed. |
05-22-2014, 02:57 AM | #48 |
null operator (he/him)
Posts: 20,592
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@JayKindle - get Process Explorer http://technet.microsoft.com/en-us/s.../bb896653.aspx Its Task Manager with extra bits like displaying the Process Tree. No install, just unzip and run the .exe
I'm wondering if you're running onto Windows Starter restrictions BR |
05-22-2014, 08:58 AM | #49 | |
Force-Aware Elf
Posts: 4,757
Karma: 11557898
Join Date: Feb 2014
Location: Valinor
Device: Kindle 4 w/SO
|
Quote:
|
|
05-22-2014, 10:36 AM | #50 | |
Connoisseur
Posts: 69
Karma: 10
Join Date: Sep 2011
Device: Kindle Fire HD 8
|
@PeterT, the reason I found out that any app you schedule doesn't show themselves in the tray is because of this setting: Run whether user is logged on or not -- with this setting, it will run hidden, even if the the hidden box isn't checked. Its purpose is for it to run, even if only the guest or another account is running. Pretty neat trick.
In order for it to appear on the tray or desktop, is for you to just choose: Run only when user is logged on. -- Read more about this here: http://technet.microsoft.com/en-us/l.../cc722152.aspx Quote:
@kovidgoyal, yes, I've doubled checked this, and when I schedule it, I make sure that my user account name is the one marked for this schedule to run. Since it asks me for my user password to confirm. Good to know about the memory leak. But I'd still prefer it to run only when I schedule it to turn on/off. Anyway you could add such feature in the near future to it? Last edited by JayKindle; 05-22-2014 at 10:40 AM. |
|
05-22-2014, 05:16 PM | #51 |
null operator (he/him)
Posts: 20,592
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
The Taskbar and Notification Area icons cannot be used to show definitively what tasks are running, at best they are tasks with which the user might interactive.
Windows Task Manager is the easiest and quickest way to see what tasks are running - ctrl/shift/escape. My Taskbar/Notification panel currently show 24 tasks, Task Manager says lists 88. BR |
05-25-2014, 03:02 AM | #52 | ||
Grand Sorcerer
Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
|
Quote:
Quote:
Code:
@echo on set logfile="createcomics-bat.log" echo "Start %date% %time%" >> %logfile% ebook-convert Gocomics_test.recipe .epub --output-profile pocketbook_900 set filename="GoComics [%date% %time%]" echo %filename% echo "filename %filename%" >> %logfile% ebook-meta Gocomics_test.epub -t %filename% calibredb add -d Gocomics_test.epub echo "End %date% %time%" >> %logfile% |
||
Tags |
calibre, task schedule, windows 7 |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with Windows 7 and new calibre versions | Terisa de morgan | Calibre | 64 | 10-20-2012 07:21 PM |
Portable Calibre Server on Windows 7 Problem | sehlat | Calibre | 2 | 05-08-2012 11:47 AM |
Windows 7 New Calibre Version problem | Pandzilla | Calibre | 8 | 10-03-2010 02:15 PM |
Run Calibre as Task in Windows 7 | nchall114 | Calibre | 10 | 04-22-2010 10:29 AM |
Problem upgrading calibre on windows XP | bazmi | Calibre | 5 | 01-05-2009 04:50 PM |