#103 Relative time for removeRemoteMedia.php

Geschlossen
vor 5 Jahren geöffnet von postblue · 1 Kommentare
Guillaume kommentierte vor 5 Jahren

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 kommentierte vor 3 Jahren
Besitzer

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 hat vor 3 Jahren geschlossen
Anmelden, um an der Diskussion teilzunehmen.
Kein Meilenstein
Niemand zuständig
2 Beteiligte
Laden…
Abbrechen
Speichern
Hier gibt es bis jetzt noch keinen Inhalt.