rr19tech commited on
Commit
f48485f
·
verified ·
1 Parent(s): b23ca39

Updated with the API call again

Browse files
Files changed (1) hide show
  1. pb_hooks/main.pb.js +3 -1
pb_hooks/main.pb.js CHANGED
@@ -2,8 +2,10 @@
2
  //adding a custom statement to check if things are getting picked up
3
  console.log("---> HOOKS FILE IS ALIVE AND LOADING! <---");
4
 
5
- cronAdd("rrtech-custom", "*/60 * * * *", () => {
6
  console.log("This runs every 30 minutes!");
 
 
7
  });
8
 
9
 
 
2
  //adding a custom statement to check if things are getting picked up
3
  console.log("---> HOOKS FILE IS ALIVE AND LOADING! <---");
4
 
5
+ cronAdd("rrtech-custom", "*/20 * * * *", () => {
6
  console.log("This runs every 30 minutes!");
7
+ const gradioScript = require(`${__hooks}/ping_api.js`);
8
+ gradioScript.invokeGradioSpace();
9
  });
10
 
11