On Linux:
-
- in any terminal window type:
crontab -e
- in any terminal window type:
-
- copy the following snippet into the file:
#!/bin/bash
#* * * * *
#- - - - -
#| | | | |
#| | | | +----- day of week (0 - 6) (Sunday=0)
#| | | +------- month (1 - 12)
#| | +--------- day of month (1 - 31)
#| +----------- hour (0 - 23)
#+------------- min (0 - 59)
* * * * * DISPLAY=:0 python /home/user-name-here/complete-path-to-script-here/verify_gmail.py
-
- ctrl-x and Enter to save.