Skip to content

Commit aa12b45

Browse files
committed
Need to escape
1 parent 2679f22 commit aa12b45

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This installs to `$HOME/go/bin` (typically; check with `go env`).
2929
#### CLI Mode
3030
Generate 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
```
4343
2. 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
```
5454
2. 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]
102102
Type=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

106106
2. Create a systemd timer file at `$HOME/.config/systemd/user/everyhour@.timer`:

0 commit comments

Comments
 (0)