#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...
Войдите, чтобы присоединиться к обсуждению.
Нет этапа
Нет ответственного
2 участников
Загрузка...
Отмена
Сохранить
Пока нет содержимого.