#103 Relative time for removeRemoteMedia.php

Stängd
öppnade 5 år sedan av postblue · 1 kommentarer
Guillaume kommenterad 5 år sedan

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 kommenterad 3 år sedan
Ägare

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...
Logga in för att delta i denna konversation.
Ingen Milsten
Ingen förvärvare
2 Deltagare
Laddar...
Avbryt
Spara
Det finns inget innehåll än.