Участник
Пользователь
- Сообщения
- 270
- Реакции
- 43
- Помог
- 5 раз(а)
hello, maybe someone can explain how to delete files from root directory
example
test.php
test.php.1
test.php.2
using command rm /root/*.php removing only test.php
I use the command in cronjob */20 * * * * wget http:///lalalal/test.php so every twenty minutes creates files php.1 php.2 and etc
example
test.php
test.php.1
test.php.2
using command rm /root/*.php removing only test.php
I use the command in cronjob */20 * * * * wget http:///lalalal/test.php so every twenty minutes creates files php.1 php.2 and etc
Последнее редактирование: