Forums Register Login

schedule a task

+Pie Number of slices to send: Send
Hi pals ,

i need to run a specific class in 12 am everyday, except predefined 2 days in the week , i found the TimerTask class but i saw it will not provide me to stop in the 2 days i want , so any recommendation to accomplish this ?
+Pie Number of slices to send: Send
You can use your os's scheduling system, quartz or build something yourself using something like Timer.
+Pie Number of slices to send: Send
Use the operating system. Linux has cron, Windows has its own Scheduled Tasks / Task Scheduler. Both give you a lot of freedom, and you don't need to have your application running in the background all the time. With Windows you'll need to go to the more advanced settings, but even these are not really advanced.
+Pie Number of slices to send: Send
unfortunately i'm using windows , So what do you think the professional way to accomplish this, is by using Quartz or windows schedule task ?
+Pie Number of slices to send: Send
I don't see one as being more professional than the other. I'd use the Windows Task Scheduler, but that's because it's easier to configure. And of course you should document that there is a scheduled task and what it's for
Surfs up space ponies, I'm making gravy without this lumpy, tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 766 times.
Similar Threads
Registration Question
callLog
Finding number of days in a month confusion
Error status on person vue web site after taking the essay exam
pass more than one parameter at the web services client
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 05:24:28.