scheduler

How to use Java to register a task with the Windows task scheduler ?

I have a Java app runs on Win7, it does something at start and goes to sleep for an hour, then wakes up to do more things after the hour, but Win7 goes into sleep mode after 15 minutes of inactivity, so I wonder if I can register a task with the Windows task scheduler in my Java app before it goes into thread sleep, so that Win7 will wak...

How to use Java to register a task with the Windows task scheduler ?

I have a Java app runs on Win7, it does something at start and goes to sleep for an hour, then wakes up to do more things after the hour, but Win7 goes into sleep mode after 15 minutes of inactivity, so I wonder if I can register a task with the Windows task scheduler in my Java app before it goes into thread sleep, so that Win7 will wak...

How does cron internally schedule jobs?

How do "modern" cron daemons internally schedule their jobs? Some cronds used to schedule a run every so often via at. So after a crontab is written out, does crond: Parse the crontab for all future events and the sleep for the intervals? Poll an aggregated crontab database every minute to determine if the current time matches the sc...

how are pthreads on linux seen by scheduler

I've a question regarding pthread implementation on Linux. Suppose a process has 5 threads. Now how does the scheduler sees these threads (or doesnt see at all). e.g. When scheduler is invoked, does it only schedule the main process, and then its the onus of the main process to schedule between each of its thread. Or is it the other wa...

Appoinment Manager In C#

Hi I want to built a win forms app that allows people to book appointments and displays the current days appointments in a user friendly way Does anyone know how i would go about doing this Thanks in advance haha sorry ok so how would i go about showing appointments booked in for the current week like outlook does below i presume ...

wpf schedule control

Hi, I'm looking for a very simple schedule control for WPF. What I need is something like daypilot or the Outlook scheduler but with minimal functionality. I simply want to show a day separated in 24 interval (one for each hour). Inside these 24 hours, the user has to define events/task, non-overlapping each other. That's for theory. Pr...

How can I convince powershell (run through task scheduler) to find my network drive?

I have a simple powershell script on windows 7 that doesn't work properly. (this is not an issue on XP) get-psdrive When I run it directly, I get Name Used (GB) Free (GB) Provider Root ---- --------- --------- -------- ---- A FileSystem A:\ Alias ...