General :: Starting Up A Script Or A Program At Boot Time?

May 8, 2010

i wanted to know how can I make my programs or script automatically start at boot time ,for example if I restart my server at any time they start at boot time automatically with no need to any body to start them.

View 2 Replies


General :: Run A Program For A Specific Amount Of Time Starting At A Specific Time?

May 18, 2010

I want to record an internet radio station starting at 2:00am tomorrow morning. The specific program on the radio station lasts until 6:00am. The command I need to run to record the station is: Code:mplayer -ao pcm:file=indie_heat_of_the_night.wav -vc dummy -vo nullI'd use cron, but 1. I'm not sure how to and 2. it seems unnecessarily complicated for something that I only want to run once. If cron is the only/easiest solution, I guess I'll just have to resort to that, but I'd rather not.

View 12 Replies View Related

Fedora :: 11 Boot Time / System Hangs For A Very Long Time On Starting Udev?

Sep 25, 2009

When booting Fedora 11, my system hangs for a very long time on starting udev. Sometimes I get an I/O error. However, my hardware is fine. I do eventually get in to the system.

View 7 Replies View Related

Slackware :: How To Stop Starting Daemons At Boot Time

Dec 28, 2009

How to stop starting daemons at boot time? For example:rc.bluetooth

View 3 Replies View Related

CentOS 5 Networking :: Starting Wireless At Boot Time On SSH Box

Dec 31, 2010

I have a SSH box which is command line only and no X, this will be used remote and i'm trying to get the wireless network configured to start at boot. I'm using wpa_supplicant as the access point is secure with WPA2 At present if I send the following commands the machine will connect to the wifi and be reachable via ssh

ifup wlan0
/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -D wext -dd -i wlan0 -B
dhclient wlan0

This does not start at boot but requires manual input of the above commands. I've just come to a complete blank on geting this to start at boot time. Also I would like to set a fixed IP for this box.

View 7 Replies View Related

Ubuntu :: Stop A Program From Automatically Starting At Boot?

Jul 10, 2011

A server like Lighttpd or Apache starts automatically at boot after you install it. How do I stop it from auto starting? I'd prefer to manually start it when I need it.

View 1 Replies View Related

Ubuntu :: Starting Processes At Boot Time - Don't Start Privoxy?

Apr 27, 2010

I installed and configured privoxy - everything worked nicely when I run it manually by

/etc/init.d/privoxy start

After restarting the computer privoxy wasn't start automatically. I checked the links in /etc/rcX.d - are o.k. I installed sysv-rc-conf - shows that for runlevel 2 - 5 privoxy is running. I changed /etc/rc2.d/S20privoxy to /etc/rc2.d/S99privoxy - to start that process at the end. I installed Boot-Up Manager. Privoxy is marked for start automatically. I added in /etc/rc.local line: /etc/init.d/privoxy start

Privoxy still doesn't turn on at boot time and every time I must start it manually. Could you tell me how could I repair this ?

View 4 Replies View Related

General :: Short A Time Can Time (system Program) Measure?

Apr 15, 2010

I'm just wondering what the limits for time are. I have a program that always takes exactly 20 ms, so I assume this is the lowest it can measure, but I want to see if there's some sort of documentation of this.

View 3 Replies View Related

OpenSUSE :: Start A Program At Boot Time?

Jul 2, 2010

I do this every time.

ifup dsl0
How can i set this to start at boot time?

View 9 Replies View Related

General :: Starting A Program On The Desktop From SSH In Ubuntu?

Aug 22, 2011

I'm logged into my Ubuntu 11.04 box using SSH, and I need to start a program - but it is a Windows GUI program which runs under WINE.

How can I start the program from the SSH terminal so that it opens on the desktop, and then stays open even after I log out of SSH.

View 3 Replies View Related

General :: Starting Wireless Internet For The First Time On CentOS?

Apr 13, 2011

I've just installed CentOS 5.3 on my laptop and trying to connect to wireless internet connection at my home but I've found no success so far. I have a key on my laptop that turns blue when wifi is activated, but it is always red in linux so I guess I need to install some drivers, but I dont know what they are. When I use Windows, it automatically turns blue without doing anything. Also, yum doesnt work as well as its not connected to internet...

View 4 Replies View Related

Fedora :: Slow Boot Time / "Starting System Message Bus"?

Dec 14, 2009

My fedora 11 (2.6.30-102) spends a long time while initializing services on

"Starting system message bus:"

---------- Post added at 08:47 PM CST ---------- Previous post was at 06:33 PM CST ----------

Auth is LDAP.

There's a 3.5 years old bug in redhat bugs database, that's still not resolved,regarding dbus trying to use ldap auth, before ldap service is started.Workaround is to change ldap config to soft binding.

3.5 years for a bug that affect enterprise users - are you there redhat?

View 2 Replies View Related

General :: Starting An Isp Company Billing Software With Affiliate Program?

May 24, 2011

I am planning to start a new business where I will get satellite internet as my backbone @ however I need have some questions since my company will be "fully open source" or " Linux-ish" first of all I would like to know which billing software is the best for the job , I came a cross "Optigold isp " and it seems awsome in its features especially the affiliate programs (eg. customer forward 5 more customer and get free month of internet access).

second , I would like to know how the network should be created @ because I will start in one city first and then I will extend to another cities basically in every city there will be one ground station to receive the satellite signal @ but I want to make the billing server and the router in one city only @ what router should I consider @ I dont have that much of knowldge to decide (gentoo , centos , ubuntu ....) even redhat is ok I wold just like to know if there are any pre-packaged solutions , I would like to know

View 6 Replies View Related

General :: Execution Time In A C Program ?

Jan 10, 2010

I need to find out the processing or operating time in milliseconds or in nanoseconds for the instructions or for the whole process!

for eg :

I need to calculate the time taken to execute :

And i dont want the time for whole program :

View 4 Replies View Related

General :: Time Oriented Program In Kernel Space?

Jan 28, 2010

I have written a programme in gcc

#include <time.h>
#include <stdio.h>
int main(void)


View 2 Replies View Related

General :: Get Ubuntu To Automatically Run A Program Every Time The Screen Is Unlocked?

Oct 31, 2010

I have a script I would like to have automatically invoked every time the screen is unlocked. Does Ubuntu provide some support for users who wish to do this?

View 1 Replies View Related

General :: Make Second Program Running With CPU Time Limit 2 Seconds?

May 16, 2011

Linux bash inline command to execute a program and limit the resource.As I know, to limit the resource I can use ulimit command.But, the problem is when I set the CPU time limit 1 second, and then I want to execute another program with CPU limit 2s, the ulimit command return an error like this: bash: ulimit: CPU time: cannot modify limit: Operation not permitted and absolutely my program killed in 1 second.So, How can I make the second program running with the CPU time limit 2 seconds?

View 3 Replies View Related

General :: Measuring Time That A Program Is Running In Shell Script

Nov 11, 2010

I have a script that executed 100000 C Programs, reads the commands from a file and executes them. There is a requirement to measuer the time that each of this 100K C programs running.If it exceeds 120 sec I want to Kill that Process.Any Idea to embed this in my shell script?

View 4 Replies View Related

General :: How To Program The Command Line To Run A Piece Of Code Multiple Time

Dec 4, 2010

So, I usually write/find a test case generator for any code that I write. This type of code generally leads to some file output. To be thorough, I try and generate many different files to test my code on.

Say the command is like this:

Is there a way to automate this for many different values of the parameters and generate many different files?

I tried:

I wasn't able to use the $i in the filename, and without it the command gave me no errors, but did nothing else either. I know the Unix command line is very powerful, and I have a feeling that this should be possible, but I just don't know how to do it.

View 3 Replies View Related

General :: Starting Application On Boot?

Dec 11, 2010

I have Ubuntu 10.10 installed on my pc with XBMC installed. It's set to boot into xbmc on start up and works fine. I also have squeezebox server (a music server for my network) installed and again don't have any trouble. I'd now like to get squeezeslave running, a client for squeezebox server so I added the following lines to /etc/init.d/local:

squeezeslave -o0 -r3 &
exit 0

This fails to start the client on boot, however if I ssh into the machine and run /etc/init.d/local it runs fine.

View 3 Replies View Related

General :: Starting VNC Upon Boot-up Using Specific User

Oct 27, 2010

So right now VNC is starting a session using :1. When I connect to that session, the terminal is logged in as root. I'd like for the terminal to be logged in as a different user as some of my end users are going to be using this and don't require such privileges. I found that I can "su" to a different user and start a new VNC daemon on :2 and when I connect to that session, the terminal is logged in as that user. What I want to do is get that to run at boot-up.

View 4 Replies View Related

General :: Create Alternative Boot Without Starting Some Services?

Apr 16, 2010

I would like to create an alternative booting possibility in my GRUB menu that does not start some services (listed by chkconfig) like cups.

I would use this boot during travel where I surely does not need these services and shorter bootup time is preferable. Permanent removal of such services is not an option because I could not miss them during normal daily work.

I use Mandriva 2010 with the latest updates.

View 1 Replies View Related

General :: RHEL 4.6 - Cannot Boot Pass Starting Auditd

Apr 15, 2011

I'm using RHEL 4.6. auditd was set on for run levels 1-5. I changed something (?), now my system won't boot. It hangs on "Starting auditd:". I tried adding "enforcing=0" to GRUB. I tried adding "selinux=0" to GRUB. I tried adding "auditd=0" to GRUB. I've tried them separatly, as well as, in various combinations. I've tried entering "I" to go into interactive mode but, I'm not fast enough to hit that millisecond window. How can I skip/get pass the "Starting auditd:"?

View 5 Replies View Related

Ubuntu :: WINE, Program Not Starting Up?

Jan 21, 2010

I installed Wine, and installed my printer Epson Tx110 scan program afterwards, but I cant get the program to run at all? Did I do anything wrong?

View 1 Replies View Related

Ubuntu :: Starting A Program Via Console?

Mar 23, 2010

I would like to know if there is anyway of starting a program via console.

View 6 Replies View Related

Ubuntu :: Starting Up The SPH Program Gadget2 ?

Jul 19, 2011

So basically, for my research I need to use Gadget2. The only problem is, I have no idea how to "install" it, I guess. I've looked in the user help guide but I think it was written more or less for those that actually know what they're doing, hence why my research professor doubted my abilities to get it running.

So, I've downloaded all that .tar.gz files and gotten rid of the .gz part and now I have a bunch of .tar files (Gadget2.0.7, gsl-1.15, fftw-3.2.2, openmpi-1.4.3 and hdf5-1.8.7-freebsd-static). I've also done the whole tar -xvf thing to just extract the files and now I have 5 folders. I looked in their help guides and I think I might've done something right 'cause now I have some lib folders and some etc and some share ones.

I think my message passing interface is operational because every time I shut down my computer now there's this weird screen about some pretty harmless looking stuff like my computer is openly passing messages so I think I'm fine there. But how do I make sure all the other stuff is good? I've tried installing and configuring (maybe not in that order, mind you) but I'm still kinda lost.

View 4 Replies View Related

Software :: Starting A Program On Startup?

Nov 2, 2010

i want to run my program and when it starts up shows an option to say : do you want to start this program at start up? and then if yes copy this program at start up how i can do this?

View 3 Replies View Related

CentOS 5 :: Starting A Program In A Particular Workspace?

Mar 22, 2010

I have a dual-monitor setup. I have some programs which I would like to start automatically. I each one to start up full screen on a particular monitor, in a particular workspace. Then I can use the workspace facilities to easily switch between the programs, and they will always appear on the correct monitor, in the correct workspace. (At least one of the programs (VMWare Workstation) does not seem to be startable using the facilities to save the current session on logout.)

View 2 Replies View Related

Ubuntu :: Starting Firefox At A Determined Time?

May 17, 2011

I want to launch Firefox at a different time every day, and send it to a landmarked page, not my home page.

Is there a relatively simple way to automate this?

View 2 Replies View Related

SUSE :: Starting A Program With Multiple Versions Installed

Feb 11, 2011

I have matlab installed on a network (I am not the administrator) and we usually start the program by typing "matlab", then choosing one of the version options from the menu i.e. typing "n". So because of this, trying to run matlab programs or commands directly like this... matlab -r ProgramName

...does not work. I just get the menu as usual and everything else is ignored. I assume the admin has overridden the matlab command with their own custom script. So my question is can I start a specific version of the program by specifying the folder that the version is in? I thought it might be something like /opt/matlab/version -r programname

this might look foolish, but I am a bit of a linux noob. Let me know if I should just ask my administrator but I thought there might be something easy I am missing.

View 1 Replies View Related

Copyrights 2005-15, All rights reserved