Create pop ups on laptop for coffee at work

Discussion in 'Tech Zone' started by watermeloen, Oct 18, 2017.

  1. watermeloen
    Offline

    watermeloen Well-Known Member

    Joined:
    Jan 28, 2016
    Messages:
    184
    Likes Received:
    54
    Country Flag:
    Hi guys,

    Tried googling it but couldnt find anything.
    Wanted to have software which pop ups between 10 and 30 minutes on all my colleagues computer. Everyone has to click on it and the last one to click on it has to get coffee or tea for everyone.
    I did manage to find some programs which could be used for myself only, but i want the pop up to appear on 15 computers at the same time.

    Do you guys know something like this or how i could create this?
     
    Last edited: Oct 18, 2017
    violaceopes likes this.
  2. Kai
    Offline

    Kai Donator

    Joined:
    Sep 11, 2015
    Messages:
    10,255
    Likes Received:
    11,297
    Seems like you're looking for a cron job lol.
    You can look into creating a simple util executable or something like that, schedule it to run at a fixed interval, say, every 10 minutes, then it will run the program with a (random) timer.

    And if you want to do it on an organisation PC, I doubt you can do that without your sysadmin permission (unless he wants to join in the fun and risk losing his job).
     
  3. watermeloen
    Offline

    watermeloen Well-Known Member

    Joined:
    Jan 28, 2016
    Messages:
    184
    Likes Received:
    54
    Country Flag:
    I've tried looking up on the cron jobs.
    We all just have our own company laptops so I don't think someone has to lose his job though if we do this?

    Just unable to find cron jobs running on multiple computers at the same time. Not sure whether this is possible. (I'm sure I can convince the IT person to make it for me >:D.

    Example of what I want is (excuses if this is exactly a cron job, just went through a few pages on stack overflow and other sites to see what it was):

    Random between 10 and 30 minutes a pop up appears on 15 different computers at the same time.
    Everyone has to click on this pop up and once you click on the "Ok" in the pop up, it will say person X clicked. Then the next person clicks and it will say person X and person Y clicked. This continues until the last person (not always 15 since some people can be in meetings / working from home). We then check who was the last person who clicked on Ok & is in the office. Then it automatically resets after 1 min & not everyone had to click on Ok because some people aren't in the office or busy elsewhere while the laptop isn't being used so she/he didn't know that the pop up appeared.
     
  4. Kai
    Offline

    Kai Donator

    Joined:
    Sep 11, 2015
    Messages:
    10,255
    Likes Received:
    11,297
    Yeah, what you described is exactly a cron job.

    I don't think you will be able to find anything that's literally as what you described on Stackoverflow, because whoever tries to ask that will just get downvoted and have their question locked lol. So you're pretty much on your own on creating a flowchart to understand your application logic, then building it up by asking/searching for questions on Stackoverflow like "How to execute my program at a fixed interval?" or "How to add a randomly generated timer to my program?"
     
  5. EZFebreezy
    Offline

    EZFebreezy Well-Known Member

    Joined:
    Oct 30, 2017
    Messages:
    1,830
    Likes Received:
    5,114
    Location:
    blasted into the sun
    Country Flag:
    IGN:
    EZFebreezy
    its slightly different since there will need to be some networking involved to get it on everyones computers. I think the easiest way to do this would be to take whatever internal communication software such as slack that your company uses, then create a bot to ping everyone that drinks coffee in a special channel at a random interval. then the last person to respond has to do it
     

Share This Page