Skip to content

Commit 00ece16

Browse files
committed
updating readme.
1 parent 537022a commit 00ece16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ A very simple XML Scraper that will search for all the `<loc></loc>` tags within
55
### Set-up
66
- Run `npm install` to install all the dependancies.
77
```
8-
node app.js --site=http://www.nytimes-se.com/nytse/sitemap.xml
8+
node app.js --sitemap_index_url=http://www.nytimes-se.com/nytse/sitemap.xml
99
```
1010
#### Cron
1111
- This node application features a running internal cron job that can be set using a regular cron expression and using the `cron_schedule=` flag within the CLI command for this job. The following command will scrap on the 30 minute marker the specified sitemap.
1212

1313
```bash
14-
node app.js --site=http://www.nytimes-se.com/nytse/sitemap.xml --cron_schedule="30 * * * *"
14+
node app.js --sitemap_index_url=http://www.nytimes-se.com/nytse/sitemap.xml --cron_schedule="30 * * * *"
1515
```
1616

1717
### Saving

0 commit comments

Comments
 (0)