A
A
alikhann2016-01-25 07:54:04
Java
alikhann, 2016-01-25 07:54:04

Do you need a timer that will work when the program is closed?

A timer that will work even if the program is closed or the computer is turned off.
It is needed in order to check whether X days have passed from a certain date.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Evgeny Andreevich, 2016-01-25
@alikhann

You can simply save the current date to a file when you close it. And when you open it, read it from the file and check it against the current date.

M
Marat, 2016-01-25
@Joysi75

If the computer is disabled, then such a timer for writing to a file will not work. It's probably easier to rent the cheapest Wirth hosting and run a script that will notify you at the right time (send a message to the port, email or something like that).
Although we may not understand it that way, the question is very vague.
PS Previously (probably now - I was not interested) there were expansion boards for the motherboard in some servers with an Ethernet + RS232 on-board controller, which turned them on either by a timer or by a special UDP packet sent to the port.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question