Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
May 20, 2013, 02:05:16 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Run as a service  (Read 2683 times)
abqbill
JkDefrag Senior
****
Posts: 30


View Profile
« on: May 13, 2008, 05:49:23 pm »

Hi Jeroen,

It would be very useful if we could install JkDefrag as a service, and configure that it should run at least once every n minutes. This would be very useful in corporate scenarios where end-users do not have administrator rights and thus can't defragment files they don't have permissions for. A service could run as an elevated account and defragment the entire drive. Along with this, it would be useful to have a tray icon (or other visual evidence) that the defrag is running.

Regards,

Bill
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #1 on: May 14, 2008, 07:20:28 am »

Thank you very much for sharing your idea, I appreciate it! But why not run JkDefrag via the Windows task scheduler? There are lot's of options and possibilities to choose from, including running at elevated permissions, and the program will not take up any memory when it's doing nothing.
Logged
abqbill
JkDefrag Senior
****
Posts: 30


View Profile
« Reply #2 on: May 14, 2008, 08:40:11 pm »

Hi Jeroen,

That's what I'm doing currently. However, running as a service with a tray icon is a more elegant solution than using a scheduled task for several reasons:

1) Defragmentation would be self-contained and would not depend on the scheduler service
2) Users could more easily see that a defrag is running
3) Scheduling could be simpler: Run once every n minutes

Of course, a bit of memory usage is a trade-off, but I think the memory requirement for such a service and tray icon component is probably negligible.

Regards,

Bill
« Last Edit: May 15, 2008, 12:59:26 am by abqbill » Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #3 on: May 16, 2008, 11:46:47 am »

running as a service with a tray icon is a more elegant solution than using a scheduled task for several reasons:
Thanks for the explanation. I think some of the GUI wrappers have scheduling, perhaps you can take a look at those (see the "contributed by other people" chapter on the JkDefrag homepage).
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!