how do run a cprogram on shutdown or restart
krabz01
0
Newbie Poster
Recommended Answers
Jump to PostThat's platform specific. You need to tell your OS to run that program on boot. What OS are you using?
Jump to PostIf you don't care about run levels, placing a symbolic link to your executable in /etc/rc.d/rc.local (or /etc/rc.local depending on your distro) should do it.
All 5 Replies
Narue
5,707
Bad Cop
Team Colleague
krabz01
0
Newbie Poster
Narue
5,707
Bad Cop
Team Colleague
kings_mitra
-1
Junior Poster
\007
7
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.