Hello ranch,
I'm going to create a
Java app to run as a Windows Service (using the Tanuki Software Wrapper). My app is supposed to run EVERYDAY at a fixed time, let's say: 03:00AM.
My question is, when using the Timer schedule method, if I don't specify the PERIOD, will the task run everyday or I must set a period (in my case equal to a whole day in milliseconds)?
Also, is Timer the best way to run a task at a fixed time? I mean, my application will ALWAYS be running on the background so it can perform the operation at 3:00AM. I'm really concerned about performance and memory usage.
I would've used a scheduled task instead, but they don't want me to (-_-" don't ask)...
Thanks for the help in advance