summaryrefslogtreecommitdiffstats
path: root/utils/test/vnfcatalogue/cronjobs/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'utils/test/vnfcatalogue/cronjobs/README.md')
-rw-r--r--utils/test/vnfcatalogue/cronjobs/README.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/utils/test/vnfcatalogue/cronjobs/README.md b/utils/test/vnfcatalogue/cronjobs/README.md
new file mode 100644
index 000000000..cf27ff8c7
--- /dev/null
+++ b/utils/test/vnfcatalogue/cronjobs/README.md
@@ -0,0 +1,24 @@
+# CRONJOB Directory
+
+## Helper to setup cronjob to fill the vnf table
+
+There are two important parameters that need to be set in github.js
+before running cronjob.
+
+
+```
+ access_token : generate an access token from github account for accessing
+ the github apis. This is necessary as the non access token limit tends to
+ be 50 api calls per hour.
+ delta : the threshold between the last update of the row of the vnf table
+ and current time. It is measured in seconds.
+```
+
+Enter the details namely username and password in the **database.js**.
+Then setup the cronjob by putting the following line in the crontab
+
+In the crontab
+
+```bash
+ node github
+```