startup

Run a script on Windows startup without a user logged on

This is a Windows 2003 machine that gets switched on every morning, but no one logs on until some hours later. I want to use the time in between to run a backup script c:\script\backup.cmd How can I start this unattended after the machine has come up? I tried 2 registry keys, but this resulted in the script being run after a user logs...

Add app to the "Startup Items"

Some applications have a check button for "start at login"... How would you implement this? ...

Disabling vim's startup message (vimdiff, vim -o -O ones)

When using opening multiple files with split windows from the command line, vim likes to state what the file names are, the line count, and the character count, for each file. Then the user is prompted to press enter to continue on to the good stuff. Is there an setting or switch to disable this? I'm using this for diffing with Tortois...

Copy Icon into Startup Folder Using VB.Net

I'd like to copy an icon into the computer's startup folder from vb.net code. ...

Getting a dump of a process that crashes on startup

On a customer machine (WinXP SP2) to which I have no access, I have a Win32 EXE (unmanaged C++) that crashes on startup. I guess the best way to troubleshoot this is to obtain a (mini-)dump and analyze it later with windbg or similar. Now, I would normally tell the customer to install Debugging Tools for Windows and run cscript adplus....

Batch File Display Startup Items

Hey guys Just wonderin' if anyone here knows how to display startup items from within a batch file? ...

Unable to show only one drawer by jQuery at startup

I want only one drawer to be open at startup. At the moment, all drawers are open. The jQuery code $(document).ready(function () { // hide all ULs inside LI.drawer except the first one $('LI.drawer UL:not(:first)').hide(); // apply the open class $('li.drawer:first ul').addClass('open'); $('h2.drawer-handle').cli...

Java Applet starts up very slowly for some users?

Hi, [UPDATE: I forgot to add that this 30 sec. freezing problem only happens the first time I try to load a file from the server. Subsequent loads are very quick. Maybe some strange reverse DNS lookup? I am hosting on Google's appengine.] I started a little project recently called http://www.chartle.net which is build around an applet....

Options for a developer

I have been an amateur developer for a long time. I was hooked to computers since the age of 10. I started with windows 3.1 and Qbasic. Few months, I moved to Visual Basic where I developed few applications just for fun. During this time I was always a novice, amateur developer. Two years ago, I started seriously with Dot Net for windows...

How can I run a Perl script as a system daemon in linux?

What's a simple way to get a Perl script to run as a daemon in linux? Currently, this is on CentOS. I'd want it to start up with the system and shutdown with the system, so some /etc/rc.d/init.d integration would also be nice, but I could always add a custom line to /etc/rc.d/rc.local. ...

Gems slowing down Rails test startup, can I selectively disable these?

I have a terrible Rails test startup time. When running a single functional test that may take 2 seconds to run, the total time from execution to returning to the command line could be up to 10-15 seconds. There are two gems I know are definitely getting in the way. A Facebook and Flickr gem (Facebooker, Flickraw). Facebooker will al...

C# instantiate/initialize object at program startup

I'm a C/C++ programmer recently working in C#, and i'm trying to do some fancy initialization stuff that I've run into some trouble with. The best and easiest example i can come up with would be that I want to create an "Eager" Singleton - one that is created immediately at program startup, but without me requiring to go into the main f...

WTSRegisterSessionNotification doesn't work sometimes on startup with XP home

I'm using the function/message to check if the workstation is locked. Now my application is in the startup folder. It has worked without any problems on XP pro, but since I'm using the program on XP home WTSRegisterSessionNotification fails about 50% of the time on startup, but it never fails when the system is already booted up. Any ide...

Tomcat startup fails with not a valid identifier

I have tomcat 6.0.18 running on one server without a problem. With the exact same settings it fails to launch on my colleague's machine. He's even running from the same folder as me (I've stopped my copy while he tries to make it work) All we get when we fire off tomcat using bin/startup.sh is this: CATALINA_OPTS=-server -Xms768m -XX:+...

Unable to disable a startup message in Zsh

I get the following when I start my Zsh. Usage: prompt <options> Options: -c Show currently selected theme and parameters -l List currently available prompt themes -p [<themes>] Preview given themes (defaults to all) -h [<theme>] Display help (for given theme) -s <theme> Set and sa...

Getting error running selenium tests

this is the error i'm getting when i tried to run my selenium script through a build.xml on a network server @BeforeTest Setup java.lang.RuntimeException: Could not start Selenium session: Internal Server Error at com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:89) at com.doubleclick.richmedia.selenium.InpageEndT...

Why is the JVM slow to start?

What exactly makes the JVM (in particular, Sun's implementation) slow to get running compared to other runtimes like CPython? My impression was that it mainly has to do with a boatload of libraries getting loaded whether they're needed or not, but that seems like something that shouldn't take 10 years to fix. Come to think of it, how do...

Unable to change where Git is loaded in Mac

I have MacPorts' Git at /opt/local/bin/git, while the newest Git at /opt/local/git. My PATH command export PATH=/usr/local/git:/opt/local/bin:/opt/local/sbin:/Users/Masi/.cabal/bin:/Users/Masi/.cabal/bin/xmonad:$PATH The command echo $PATH gives me /usr/local/git:/opt/local/bin:/opt/local/sbin:Users/Masi/.cabal/bin:/Users/Sam/.ca...

Application on windows startup

i wish to load my C# application after windows user login and before windows desktop appears. currently i added my application startup path to registry run key. it loads my application correctly but windows windows desktop appears[2 sec] then my application runs Note: My application creates seperate desktop using winapi, while my appli...

Ubuntu Startup Script for Varnish

I am wondering if anyone has a working startup script (/etc/init.d/varnish) for Varnishd that works on Ubuntu Hardy. It should set a pid file so it can be monitored. I have been looking all over Google but have yet to find something that works without hacking which I don't have time to do for a few days. ...