#103 Relative time for removeRemoteMedia.php

Закриті
5 роки тому відкрито postblue · 1 коментарів
Guillaume відкоментовано 5 роки тому

When using plugins/StoreRemoteMedia/scripts/removeRemoteMedia.php, I would like to have the possibility to use a relative date, like a week or a month, so I can use the script as part of a maintainance routine. Is it possible with the --limit argument or does it need further developement?

When using `plugins/StoreRemoteMedia/scripts/removeRemoteMedia.php`, I would like to have the possibility to use a relative date, like a week or a month, so I can use the script as part of a maintainance routine. Is it possible with the `--limit` argument or does it need further developement?
Diogo Cordeiro відкоментовано 3 роки тому
Власник

I'm sorry about this late reply, I've first misread your question.

We could implement relative time but, I think this ultimately is up to the specific case... Because there are many possible relative times.

If the maintenance is something like a cron job, you could set a small shell script that generates the right date argument instead...

I'm sorry about this late reply, I've first misread your question. We could implement relative time but, I think this ultimately is up to the specific case... Because there are many possible relative times. If the maintenance is something like a cron job, you could set a small shell script that generates the right date argument instead...
diogo закрито 3 роки тому
Підпишіться щоб приєднатися до обговорення.
Етап відсутній
Немає відповідального
2 учасників
Завантажується...
Скасувати
Зберегти
Тут ще немає жодного вмісту.