Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 504799

‘Hey you, it’s time to do your exercises again!”

$
0
0

Replies: 0

I need a simple mechanism where a website user can set a timer – say 1, 2 or 3 hours – in such a way that he or she will see a reminder pop up after 1, 2 or 3 hours saying ‘Hey you, it’s time to do your exercises again!”

I suppose I can set things up in such a way that, when the user sets the timer, a server cron job is created that will run at the scheduled times. (Not a WP cron job, by the way, because the site will not be visited constantly so the WP scheduler might not be active at the moment it needs to run something).

And then perhaps I can use Chrome Push Notifications by creating a fake post, invisible to the users (because this is a web application that does not use posts), in order to trigger the notification process…

Would that work, you think? Any alternative, better solutions?


Viewing all articles
Browse latest Browse all 504799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>