M
M
Maxim Zabolotsky2015-11-19 09:59:08
Task Schedulers
Maxim Zabolotsky, 2015-11-19 09:59:08

How to delete a file using cron?

It is necessary to delete the same file from the root of the site every day, how to do it through cron? Hosting panel - ISPManager.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2015-11-19
@okludator

0 0 * * * rm /path/to/file
will delete the file at midnight (server time).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question