Is there a way to delete all files from an FTP folder every 30 minutes automatically?
Let's say that my details are the following:
Folder: /myfolder
Host: xxx.xxx.xxx.xxx
Username: myname
Password: mypassword
Thanks in advance!
make a file abc.php and write this code
array_map('unlink', glob("/myfolder/*"));
after that schedule a corn for hit this file every 30 min