Answer the question
In order to leave comments, you need to log in
What does a Cron command look like to delete a folder on a server (with all files) every 30 minutes?
From 1C, it is uploaded to the online store once an hour (every xx:00 minutes) to the /systen/storage/cache/ exchange1c / folder. For some unknown reason, the archives are not deleted, and at the next download, the space on the server is full, as a result of which subsequent uploads to the site do not work. We contacted 1C support, they send it to Bitrix24 - like this is their module ... And they, in turn, transfer arrows to 1C. And so on in a circle... In general, "everything is as usual"... ))
Please help form a Cron Command (in ISPmanager) to delete the exchange1c folder (with all files) every half hour (at xx:30 minutes).
When goods are uploaded to the site, the exchange1c folder is created automatically (if it does not exist), into which import.xml, offers.xml, orders.xml files and several zip-archives (with arbitrary names) of 400-500 megabytes are loaded.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question