![Page 1: Time Sheet Reminder For the UNIX based OSes: Mac OS X Linux Solaris](https://reader035.vdocuments.site/reader035/viewer/2022072006/56649f425503460f94c622a3/html5/thumbnails/1.jpg)
Time Sheet Reminder
For the UNIX based OSes:Mac OS X
LinuxSolaris
![Page 2: Time Sheet Reminder For the UNIX based OSes: Mac OS X Linux Solaris](https://reader035.vdocuments.site/reader035/viewer/2022072006/56649f425503460f94c622a3/html5/thumbnails/2.jpg)
Simple Solution
Use the OS’s cron to start up the command
![Page 3: Time Sheet Reminder For the UNIX based OSes: Mac OS X Linux Solaris](https://reader035.vdocuments.site/reader035/viewer/2022072006/56649f425503460f94c622a3/html5/thumbnails/3.jpg)
Crontab Information
• This description, about the crontab entry, was found in the wiki at: http://en.wikipedia.org/wiki/Crontab
#+---------------- minute (0 - 59)
# | +------------- hour (0 - 23)
# | | +---------- day of month (1 - 31)
# | | | +------- month (1 - 12)
# | | | | +---- day of week (0 - 7) (Sunday=0 or 7)
# | | | | |
* * * * * Command_to_be_executed
• For information about the UNIX shells, crontabs, or setting environment variables, such as “DISPLAY=” and “export”, search google.com or wikipedia.com
![Page 4: Time Sheet Reminder For the UNIX based OSes: Mac OS X Linux Solaris](https://reader035.vdocuments.site/reader035/viewer/2022072006/56649f425503460f94c622a3/html5/thumbnails/4.jpg)
For Mac OS X• Start a terminal• At the prompt type:
crontab –e• Within the editor add the following line:
– For Firefox users:30 16 * * 1,2,3,4,5 /usr/bin/open -a firefox http://mytime.stsci.edu
– For Safari users:30 16 * * 1,2,3,4,5 /usr/bin/open -n -a safari http://mytime.stsci.edu
• Save it & exit the editor• Suggestion: use the free GUI app “CronniX” to edit your
crontab
![Page 5: Time Sheet Reminder For the UNIX based OSes: Mac OS X Linux Solaris](https://reader035.vdocuments.site/reader035/viewer/2022072006/56649f425503460f94c622a3/html5/thumbnails/5.jpg)
For Linux & Solaris
• Start a terminal• At the prompt type:
crontab –e• Within the editor add the following line:
30 16 * * 1,2,3,4,5 DISPLAY=localhost:0.0; export DISPLAY; /usr/bin/firefox http://mytime.stsci.edu
• Save it & exit the editor
![Page 6: Time Sheet Reminder For the UNIX based OSes: Mac OS X Linux Solaris](https://reader035.vdocuments.site/reader035/viewer/2022072006/56649f425503460f94c622a3/html5/thumbnails/6.jpg)
For CSC folks• Substitute the following URL:
http://mytime.stsci.edu
with
https://etes.csc.com/iTES/loginframe.htm
![Page 7: Time Sheet Reminder For the UNIX based OSes: Mac OS X Linux Solaris](https://reader035.vdocuments.site/reader035/viewer/2022072006/56649f425503460f94c622a3/html5/thumbnails/7.jpg)
Thanks for their assistance:
• Josh Greenberg (JHU P&A System Administrator)
• Andrew Spina (ST APT developer)
• Patrick McCauley (ST APT developer)
• Rob Hawkins (ST PCG developer)
• Sara Anderson (ST DPAS developer)