Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

execute a program during a system shutdown or reboot
hi,
i wanna to how to make program to run automatically when is
about to shutdown or reboot

Report this thread to moderator Post Follow-up to this message
Old Post
bharath venk
03-26-08 12:25 AM


Re: execute a program during a system shutdown or reboot
bharath venk wrote:
> hi,
>        i wanna to how to make program to run automatically when is
> about to shutdown or reboot

With typical sysV init scripts you would add a script to
/etc/rc.d/init.d with a symlink in /etc/rc.d/rc6.d pointing to the script.

Chris

Report this thread to moderator Post Follow-up to this message
Old Post
Chris Friesen
03-26-08 12:25 AM


Re: execute a program during a system shutdown or reboot
On Mar 26, 2:38 am, Chris Friesen <cbf...@mail.usask.ca> wrote:
> bharath venk wrote: 
>
> With typical sysV init scripts you would add a script to
> /etc/rc.d/init.d with a symlink in /etc/rc.d/rc6.d pointing to the script.
>
> Chris

please can u tell me more about it

Report this thread to moderator Post Follow-up to this message
Old Post
bharath venk
03-26-08 09:46 AM


Re: execute a program during a system shutdown or reboot
bharath venk wrote:
> On Mar 26, 2:38 am, Chris Friesen <cbf...@mail.usask.ca> wrote: 
 
 

> please can u tell me more about it

The exact details are platform-specific.  There is usually some
documentation, but it's hard to say much more without knowing what
system you're interested in.

- logan

Report this thread to moderator Post Follow-up to this message
Old Post
Logan Shaw
03-27-08 03:52 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Unix Programming archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 03:05 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.