D
D
DotDash2015-12-13 14:15:58
linux
DotDash, 2015-12-13 14:15:58

cron hangs. What to do?

I made synchronization with 1C on the site via cron using the link, a link of this format
"/usr/bin/wget ' site.com/index.php?option=com_store&task=import.ru... '>/dev/null 2>&1" , and the synchronization itself occurs through the export.xml file.
After the cron synchronization, each time it creates a file in the root of the site with the name of the link, as a result, after a few days of the script's operation, the place is clogged. As a result, synchronization stops, and for some reason the export.xml file is deleted.
How can this matter be simplified so as not to climb into the manager every week?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DotDash, 2018-03-21
@DotDash

It was done, as advised by Pavel, through auto-deletion.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question