mirror of
https://github.com/hughrun/ephemetoot
synced 2025-02-17 04:00:35 +01:00
updated README
This commit is contained in:
parent
96085e499c
commit
cf670ea79e
@ -21,7 +21,9 @@ This script requires Python3, the `mastodon.py` package and an API access token.
|
|||||||
7. Set the `days_to_keep` to the number of days you want to keep toots before deleting them
|
7. Set the `days_to_keep` to the number of days you want to keep toots before deleting them
|
||||||
8. If you do **not** wish to keep all pinned toots regardless of age, change `saved_pinned` to `False`
|
8. If you do **not** wish to keep all pinned toots regardless of age, change `saved_pinned` to `False`
|
||||||
9. If there are any other toots you want to keep, put the ID numbers (without quotes) in the `toots_to_save` list, separated by commas. For example:
|
9. If there are any other toots you want to keep, put the ID numbers (without quotes) in the `toots_to_save` list, separated by commas. For example:
|
||||||
|
|
||||||
`toots_to_save = [100029521330725397, 100013562864734780, 100044187305250752]`
|
`toots_to_save = [100029521330725397, 100013562864734780, 100044187305250752]`
|
||||||
|
|
||||||
10. Run the script with `python3 ephemetoot.py`. Depending on how many toots you have and how long you want to keep them, it may take a minute or two before you see any results.
|
10. Run the script with `python3 ephemetoot.py`. Depending on how many toots you have and how long you want to keep them, it may take a minute or two before you see any results.
|
||||||
11. To run every day use crontab:
|
11. To run every day use crontab:
|
||||||
1. `crontab -e`
|
1. `crontab -e`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user