30
rated 0 times
[
30]
[
0]
/ answers: 1 / hits: 24994
/ 2 Years ago, thu, july 28, 2022, 11:15:54
I have a text file in my home directory which receives data regularly through a cron job. Because the cron job provides dynamic data, I would also want to set a cron job to empty the file contents (the file must still exist). I don't need help with cron, just the command which can help with emptying the file.
More From » command-line