12-02-2011
Run application at startup
We have a Windows Service written in C# ported over to linux using Mono Develop... The code is working 100% when we run a script file which runs the exe... but we want the application to run at startup.... The application gathers info of the computer eg. Hard Disk Space etc... And compress it into a .zip file and then calls a web service method to upload the data... Any ideas on how to get it running at startup?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
can someone tell me what could cause an application not to startup? I'm getting calls from users saying they cant' startup a particular application. how do I troubleshoot this?
i tried doing ps -ef | grep (application)
i saw the application running. now, am wondering, would it be safe to... (1 Reply)
Discussion started by: TRUEST
1 Replies
2. UNIX for Dummies Questions & Answers
Is it possible to run tomcat automatically when Linux boots without having to log in? (4 Replies)
Discussion started by: Spetnik
4 Replies
3. UNIX for Dummies Questions & Answers
sorry, i'm a newbie to unix...
but how do i or rather where do i write scripts that auto start my application e.g. Informix?
in Windows it would be services but in UNIX where can i auto start my informix program? To run informix i just type "oninit". And do i have to login to any user before... (2 Replies)
Discussion started by: doofie
2 Replies
4. Linux
Hi all,
i have a script in /etc/init.d directory.
-rwxr-xr-x 1 root root 26 Mar 28 16:00 myscript
I need it to run when my linux reboots/startup. However is it not being executed. Do i need to put in in the rc.local directory? (1 Reply)
Discussion started by: new2ss
1 Replies
5. AIX
I am using AIX 5.3 in P6 machine.
I have a script "test.sh", when i run it manually it runs properly.
I want to run the script automatically when system starts.
I kept the script in /etc/rc.d/init.d and also in /etc/rc.d/rc2.d but it is not working.
Do i have to write it in inittab instead of... (1 Reply)
Discussion started by: pchangba1
1 Replies
6. Shell Programming and Scripting
Hi guys ,
I Need to run a specific command (pinging a particular machine).
Which need to run every time i reboot the server till the time it shut down.
What is the preferred way of doing this.
Will it impact my system performance.
My Operating system is as below.
# lsb_release -a... (3 Replies)
Discussion started by: pinga123
3 Replies
7. UNIX for Dummies Questions & Answers
hi,
i am using rhel 5, and i wanna run a script as soon as the operating system open. How can i do this ? ( i was reading rc.d files but i could not understand exactly what are the run levels and where should i put the my shell script.
my script will be :
#!/bin/ksh
iptables -I INPUT... (1 Reply)
Discussion started by: futi
1 Replies
8. Shell Programming and Scripting
hi.
i need to start a shellscript AFTER full system startup
the script will then run permanently in a loop checking the server every minute and in case of major hangs it just reboots the machine.
i put it into /etc/rc.local file like this:
#!/bin/sh -e
#
# rc.local
#
# This script is... (4 Replies)
Discussion started by: scarfake
4 Replies
9. SuSE
Hi
I have a script myscript.sh that needs to be run whenever the server boots. The script is actually logging Syslog-ng messages to sql server. I need to lauch it at startup
I have copied the script in etc/init.d
i have also added the link
ln -s /etc/init.d/syslog-ng-mssql-pipe.sh... (5 Replies)
Discussion started by: SystemEng
5 Replies
10. AIX
Run script with different user at the startup ..
I have created this user appuser
And I have a script should to be up thru the startup by this user appuser
I have defined the path of the script /user/appstart.sh in /etc/rc
But at the startup starting will be by root , I’d like to keep... (6 Replies)
Discussion started by: Mr.AIX
6 Replies
LEARN ABOUT DEBIAN
psensor
PSENSOR(1) User Commands PSENSOR(1)
NAME
psensor - Temperature monitoring application
SYNOPSIS
psensor [OPTION]...
DESCRIPTION
psensor is a GTK application for monitoring hardware sensors, including temperatures and fan speeds.
It displays a curve for each sensor, and uses Desktop Notification to raise an alarm when a temperature is too high. On Ubuntu an Applica-
tion Indicator is also available, its icon changes when a temperature alert is raised.
It can monitor:
* the temperature of the motherboard and CPU sensors (using lm-sensors).
* the temperature of the NVidia GPUs (using XNVCtrl).
* the temperature and fan rotation speed of the ATI GPUs.
* the temperature of the Hard Disk Drives (using hddtemp).
* the rotation speed of the fans (using lm-sensors).
* the sensors of a remote computer (using psensor-server).
Psensor requires lm-sensors to be correctly installed and configured, it can be checked by running the command 'sensors'. If it has never
be done, you may need to run the command 'sensors-detect' and follow the instruction. See the manpages of sensors(1) and sensors-detect(8)
for more information.
To retrieve the temperature of the Hard Disk Drives, the hddtemp daemon must be running.
For remote monitoring:
* start psensor-server(1) on the remote computer
* run psensor with '--url' option: 'psensor --url=http://localhost:3131'
ATI/AMD GPUs monitoring is available if the library libatiadlxx is present in the directory /usr/lib and psensor has been compiled with the
ATI ADL SDK.
Log is written to '$HOME/.psensor/log'.
OPTIONS
-h, --help
display this help and exit
-v, --version
display version information and exit
-u, --url=URL
the URL of the psensor-server, example: http://hostname:3131
-d, --debug=LEVEL
set the debug level, integer between 0 and 3
REPORTING BUGS
Report bugs to: jeanfi@gmail.com
psensor home page: <http://wpitchoune.net/psensor>
COPYRIGHT
Copyright (C) 2010-2012 jeanfi@gmail.com License GPLv2: GNU GPL version 2 or later <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
psensor-server(1), sensors(1), sensors-detect(8), hddtemp(8)
psensor 0.6.2.17 March 2012 PSENSOR(1)