Delete expired items in Pocket
$ go get github.com/naoty/sweep
$ sweep
POCKET_CONSUMER_KEY: A consumer key for your Pocket application
POCKET_ACCESS_TOKEN: An access token for your Pocket application
POCKET_EXPIRATION: An expiration hours after which items are deleted (Default: 24)
You can deploy a job to run sweep on Heroku.
- Get a consumer key and an access token of your Pocket application.
- Deploy sweeper from below Heroku button.
- Add a new job at Heroku scheduler dashboad.