#!/usr/bin/env python
from random import randint
from time import sleep
from os import system
from easygui import msgbox

while True:
  delay = randint(30, 1100)
  sleep(delay)
  system("aplay /usr/lib/libreoffice/share/gallery/sounds/kongas.wav")
  msgbox("Hi Dan", "Time is up")

@@ -149,14 +149,14 @@
 int(
-30, 11
+60, 20
 00)%0A

Increase time.