DEV Community

Mayank-21
Mayank-21

Posted on

how to implement delete code in batch file?

how to implement delete code in batch file?

4

I have created batch file which starting & stopping celery services.

I want to implement code in batch file so that files older than week will be deleted.

celery_restart.bat

NET STOP "CeleryBeat"
NET START "CeleryBeat"
NET STOP "Celery2"
NET START "Celery2"

Top comments (0)