![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Technical Q&A: Programmatically causing restart, shutdown and/or logout | iBot | UNIX and Linux RSS News | 0 | 01-25-2008 01:00 PM |
| set schedule to run a script at background while logout | happyv | Shell Programming and Scripting | 1 | 01-23-2007 09:17 PM |
| A script for shutdown | kelu | UNIX for Dummies Questions & Answers | 12 | 08-23-2006 06:09 PM |
| Shutdown script | alpha_manic | UNIX for Advanced & Expert Users | 10 | 09-14-2005 01:14 PM |
| Login and logout script | jhansrod | UNIX for Dummies Questions & Answers | 1 | 06-06-2005 03:54 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
logout/shutdown script
I am running JDictd (http://www.informatik.uni-leipzig.de/~duc/Java/JDictd/) from tcsh in Terminal on Mac OS X (:=Darwin=FreeBSD/Mach).
I am trying to get it to exit cleanly silently upon Mac OS X system shutdown. My idea was that if there was a logout script in FreeBSD (basically a script that would run at each logout), then I could send a QUIT or TERM signal from there. Is there a way to have a script that would run at each logout and/or shutdown? Or does anyone have a better idea? Thanks a bunch! Jens |
| Forum Sponsor | ||
|
|
|
|||
|
i know bash does but am not sure if tcsh does, bash has two files, one of which is read during login and one which is read at logout, check tsch documentation, "man tcsh" should let you know.
|
|||
| Google The UNIX and Linux Forums |