File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ This installs to `$HOME/go/bin` (typically; check with `go env`).
2929#### CLI Mode
3030Generate RSS Feed:
3131``` bash
32- phpbb2rss -output /var/www/localhost/htdocs/rss/phpbb2rss.xml -url https://forums.$HOST .org/search.php? search_id=last
32+ phpbb2rss -output /var/www/localhost/htdocs/rss/phpbb2rss.xml -url ' https://forums.$HOST.org/search.php?search_id=last'
3333```
3434
3535### Deployment
@@ -42,7 +42,7 @@ Add a cron job to run the script periodically:
4242 ```
43432 . Add the following line:
4444 ``` bash
45- * /15 * * * * /usr/local/bin/phpbb2rss -output /var/www/localhost/htdocs/rss/phpbb2rss.xml -url https://forums.$HOST .org/search.php? search_id=last
45+ * /15 * * * * /usr/local/bin/phpbb2rss -output /var/www/localhost/htdocs/rss/phpbb2rss.xml -url ' https://forums.$HOST.org/search.php?search_id=last'
4646 ```
4747
4848#### rc.d (Cron Job user level)
@@ -53,7 +53,7 @@ Add a cron job to run the script periodically:
5353 ```
54542 . Add the following line:
5555 ``` bash
56- * /15 * * * * ~ /go/bin/phpbb2rss -output ~ /public_html/rss/phpbb2rss.xml -url https://forums.$HOST .org/search.php? search_id=last
56+ * /15 * * * * ~ /go/bin/phpbb2rss -output ~ /public_html/rss/phpbb2rss.xml -url ' https://forums.$HOST.org/search.php?search_id=last'
5757 ```
5858
5959#### systemd (as root)
@@ -100,7 +100,7 @@ Description=phpbb2 to RSS Feed Creator
100100
101101[Service]
102102Type =oneshot
103- ExecStart =%h/go/bin/phpbb2rss -output %h/public_html/rss/phpbb2rss.xml -url https://forums.$HOST.org/search.php?search_id =last
103+ ExecStart =%h/go/bin/phpbb2rss -output %h/public_html/rss/phpbb2rss.xml -url ' https://forums.$HOST.org/search.php?search_id=last'
104104```
105105
1061062 . Create a systemd timer file at ` $HOME/.config/systemd/user/everyhour@.timer ` :
You can’t perform that action at this time.
0 commit comments