Click to See Complete Forum and Search --> : Need public onion on best way of creating cron job.


stardv
September 6th, 2005, 03:36 PM
I need to create a cron job that will run on clients PCs. I have done it 2 ways before. One is to use Windows Scheduling and
The other is to use Thread.Timer and create Windows service to run the program that will use thread timer.

I need you opinion please on what cons and pros each method have so I cam choose which one to use for my project

Thank you for any feedback !!!

klintan
September 7th, 2005, 01:54 AM
Pros of Windows Scheduler (as you see I don't know much about it):

- Single view for all scheduled job, easier to administrate
- No need to re-invent the wheel

Cons:
- Requires a licence?
- Cannot launch dll's? (if this is a requirement)
- Need to learn another product

Pros of doing your own service:
- Can be customized to meet your exact needs
- Does not require skill or license for another product

Cons:
- May be more complicated for users to have several ways of scheduling jobs
- Requires more coding