Update README.md
This commit is contained in:
parent
30ce8c6a9d
commit
df8d3afed3
1 changed files with 2 additions and 2 deletions
|
@ -69,8 +69,8 @@ it will keep the index up-to-date without duplicate links.
|
||||||
|
|
||||||
This example archives a pocket RSS feed and an export file every 24 hours, and saves the output to a logfile.
|
This example archives a pocket RSS feed and an export file every 24 hours, and saves the output to a logfile.
|
||||||
```bash
|
```bash
|
||||||
0 24 * * * /opt/bookmark-archiver/archive.py https://getpocket.com/users/yourusername/feed/all > /var/log/bookmark_archiver_rss.log
|
0 24 * * * yourusername /opt/bookmark-archiver/archive.py https://getpocket.com/users/yourusername/feed/all > /var/log/bookmark_archiver_rss.log
|
||||||
0 24 * * * /opt/bookmark-archiver/archive.py /home/darth-vader/Desktop/bookmarks.html > /var/log/bookmark_archiver_firefox.log
|
0 24 * * * yourusername /opt/bookmark-archiver/archive.py /home/darth-vader/Desktop/bookmarks.html > /var/log/bookmark_archiver_firefox.log
|
||||||
```
|
```
|
||||||
(Add the above lines to `/etc/crontab`)
|
(Add the above lines to `/etc/crontab`)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue