Skip to content

How i can delete 1 day old Imagefiles in srv/images/ with crontab #369

Answered by dom-robinson
noaahunter asked this question in Q&A
Discussion options

You must be logged in to vote

Try to set

# pruning capabilities - must be configured in cron (see documentation)
#   delete_oldest_n - how many oldest captures to delete on each run
#   delete_older_than_n - delete all images older than this many days
delete_oldest_n: 1
delete_older_than_n: 1 

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dom-robinson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants