Update jobChecker.js
All checks were successful
Build and push image / Build (push) Successful in 42s
All checks were successful
Build and push image / Build (push) Successful in 42s
This commit is contained in:
parent
964a1968a6
commit
8868e24665
@ -40,12 +40,15 @@ var con = mysql.createConnection({
|
||||
database: "wednesday_db"
|
||||
});
|
||||
|
||||
console.log("waiting for wednesday!")
|
||||
console.log("STARTED!")
|
||||
|
||||
con.connect(function(err) {
|
||||
if (err) throw err;
|
||||
//console.log("You are connected!");
|
||||
console.log("connected waiting for wednesday!")
|
||||
cron.schedule('0 0 * * *', function() {
|
||||
console.log('connected waiting for wednesday!');
|
||||
});
|
||||
cron.schedule('0 0 * * WED', function() {
|
||||
console.log('running a task every wed');
|
||||
check();
|
||||
|
Loading…
x
Reference in New Issue
Block a user