cf27ff8c70f9aa6e5cee50802471d4d739a3f65c
[releng.git] / utils / test / vnfcatalogue / cronjobs / README.md
1 # CRONJOB Directory
2
3 ## Helper to setup cronjob to fill the vnf table
4
5 There are two important parameters that need to be set in github.js
6 before running cronjob.
7
8
9 ```
10    access_token : generate an access token from github account for accessing
11    the github apis. This is necessary as the non access token limit tends to 
12    be 50 api calls per hour.
13    delta : the threshold between the last update of the row of the vnf table
14    and current time. It is measured in seconds.
15 ```
16
17 Enter the details namely username and password in the **database.js**.
18 Then setup the cronjob by putting the following line in the crontab
19
20 In the crontab
21
22 ```bash
23     node github
24 ```