File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -40,9 +40,11 @@ app.use("/notifications", notifications);
4040app . use ( "/users" , users ) ;
4141
4242// Cron - Cloud Function usage
43- cron . schedule ( "0 0 0 * * *" , function ( ) {
44- // Run at 00:00:00
45- logger . warn ( "It's 00:00. Resetting all user hug counts :)" ) ;
43+ cron . schedule ( "0 0 8 * * *" , function ( ) {
44+ // Run at 00:00:00 (00:00 PST) == (08:00 UTC)
45+ let d = new Date ( Date . now ( ) ) ;
46+ let timeString = d . toTimeString ( ) ;
47+ logger . warn ( `It's ${ timeString } . Resetting all user hug counts :)` ) ;
4648 CloudFunctionsAPI . resetUserHugCounts ( ) ;
4749} ) ;
4850
Original file line number Diff line number Diff line change 3232 "adaptiveIcon" : {
3333 "foregroundImage" : " ./assets/images/adaptive-icon.png" ,
3434 "backgroundColor" : " #FFFFFF"
35- }
35+ },
36+ "package" : " com.teamcafe.fouro"
3637 },
3738 "web" : {
3839 "favicon" : " ./assets/favicon.png"
You can’t perform that action at this time.
0 commit comments