I would recommend using cron
or at
for this kind of operation. If you need to run the task only once, then at
the easiest option will be.
If you prefer to run it on a periodic basis / schedule (for example, if you need it to work every night), it is more flexible with cron
the tool you are looking for.
Have a safe trip!
source
share