Às 20:16 de 12/10/22, 2qdxy4rzwzuui...@potatochowder.com escreveu:
On 2022-10-12 at 17:43:18 +0100,
Paulo da Silva <p_d_a_s_i_l_v_a...@nonetnoaddress.pt> wrote:
Às 17:22 de 12/10/22, Tilmann Hentze escreveu:
Paulo da Silva <p_d_a_s_i_l_v_a...@nonetnoaddress.pt> schrieb:
I have python program that launches a detached rm. It works pretty well
until it is invoked by cron! I suspect that for cron we need to specify
the full path.
Probably you could use os.unlink[1] with no problem.
No, because I need to launch several rm's that keep running after the script
ends.
rm doesn't take that long. Why are you detaching them?
Because the use of "rm -rf" here is to remove full dirs, mostly in
external drives, each reaching more than hundreds thousand files.
--
https://mail.python.org/mailman/listinfo/python-list