Update README.md
This commit is contained in:
parent
2066864f03
commit
6faeb4d60c
@ -5,7 +5,7 @@ This is all the code for the website (deadvey.com)<br/>
|
|||||||
The nodejs code that is executed in the background is in /node<br/>
|
The nodejs code that is executed in the background is in /node<br/>
|
||||||
You can execute the node code in crontab (`crontab -e`)<br/>
|
You can execute the node code in crontab (`crontab -e`)<br/>
|
||||||
eg:<br/>
|
eg:<br/>
|
||||||
```
|
```crontab
|
||||||
* * * * * node /var/www/html/node/makeblogs.js
|
* * * * * node /var/www/html/node/makeblogs.js
|
||||||
* * * * * node /var/www/html/node/newsletter.js
|
* * * * * node /var/www/html/node/newsletter.js
|
||||||
* * * * * node /var/www/html/node/updatefeed.js
|
* * * * * node /var/www/html/node/updatefeed.js
|
||||||
@ -16,8 +16,8 @@ etc...
|
|||||||
|
|
||||||
# Newsletter
|
# Newsletter
|
||||||
<br/>
|
<br/>
|
||||||
If you want to add members to the newsletter, I store a file as /etc/newsletter_members.js:
|
If you want to add members to the newsletter, I store a file as /etc/newsletter_members.js:<br/>
|
||||||
```
|
```js
|
||||||
let members = ["member1@gmail.com","member2@outlook.com"]
|
let members = ["member1@gmail.com","member2@outlook.com"]
|
||||||
|
|
||||||
if (typeof module !== 'undefined' && module.exports) {
|
if (typeof module !== 'undefined' && module.exports) {
|
||||||
|
Loading…
Reference in New Issue
Block a user