I really need to get this working =(

This is a discussion on I really need to get this working =( within the A Brief History of Cprogramming.com forums, part of the Community Boards category; hello all i want to ask a question If i wanted a program to start at boot up/startup like if ...

  1. #1
    Unregisterd
    Guest

    I really need to get this working =(

    hello all i want to ask a question

    If i wanted a program to start at boot up/startup like if i was to shutdown my computer. How can i make a script/program to start up at boot time. Were do i add/edit or what file do i do this in? thank you

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    Depends on what operating system you are using.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #3
    unregisterd
    Guest
    i am using redhat

  4. #4
    Registered User
    Join Date
    Oct 2002
    Posts
    385
    Put the program you want to run on the end of the rc.local file in the /etc/rc.d/ directory.

    If you want to run a program called program in the /usr/bin/ directory at boot up then just add /usr/bin/program to the rc.local file.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Function not working
    By sloopy in forum C Programming
    Replies: 31
    Last Post: 11-12-2005, 08:08 PM
  2. Program Not working Right
    By raven420smoke in forum C++ Programming
    Replies: 2
    Last Post: 09-16-2005, 04:21 AM
  3. Trying to eject D drive using code, but not working... :(
    By snowfrog in forum C++ Programming
    Replies: 3
    Last Post: 05-07-2005, 08:47 PM
  4. x on upper right corner not working
    By caduardo21 in forum Windows Programming
    Replies: 1
    Last Post: 02-20-2005, 08:35 PM
  5. cygwin -> unix , my code not working properly ;(
    By CyC|OpS in forum C Programming
    Replies: 4
    Last Post: 05-18-2002, 05:08 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21