startupscript

How to know whether a given client-side startup script is already registered in an asp.net page?

I have a asp.net page, and would like to know whether "script1" is already registered as a startup script or not? ...

How do I run a batch file on startup for a Win x64 machine?

Hi, all, I know you can use autoexnt to run a batch file on startup for Windows XP, but that only seems to work for 32-bit machines. I'm running Windows XP x64 on a box, and I need to have a script run on startup (without anyone's logging in). Any ides? Thanks for the help. ...

.net - How do you Register a startup script?

I have limited experience with .net. My app throws an error this.dateTimeFormat is undefined which I tracked down to a known ajax bug. The workaround posted said to: "Register the following as a startup script:" Sys.CultureInfo.prototype._getAbbrMonthIndex = function(value) { if (!this._upperAbbrMonths) { this._upperAbbrMonths = this...

Long running java process

Hello. I have inherited a java system which should be run in the background on a Linux server. The directions call for it to be started java -jar start.jar. This seems a little too fragile for my liking. I'd like it to actually run in the background, ideally starting up automatically at boot time. What is the best way to achieve this? ...

Using ASDF to start Hunchentoot

I'm working on a web app using Hunchentoot (on SBCL and Linux), and usually I just run it from Emacs (SLIME), but for deployment I want something that's easier to automate. So I'm trying to figure out ASDF, because that seems to be what everybody's using these days. myapp.asd: (in-package #:asdf) (defsystem :myapp :name "my app" :...

Sync'ing ejabberd nodes at startup

I am running into an issue that appears to be un-resolvable. I have a need to pass in the function mnesia:change_table_copy_type(schema, node(), disc_copies). at the command line whe the db is created from the master node. the erl start is: erl -name NODE1 -mnesia extra_db_nodes \"['MASTER']\" -s mnesia When I start the shell then enter...

Asp page force not to postback

I am using Page.RegisterStartUpScript if the user types not acceptable data but i want to force at least some part of my aspx page if not the entire page to not postback. Does anybody has a clue how this can be achieved ? I am using some form to submit data and i don't want those field to be emptied at page postback. ...

Loading Multiple JS variables up using RegisterStartupScript

I need to get multiple variables up into my JS code from my C# backend (ASP 2.0). Currently I use the following code string js; if (swapSize == null && VMWare == null) js = "var stackedUnknownExemptCheck = " + stacked.ToString().ToLower() + ";"; else if (VMWare == null) js = "var stackedUnknownExemptCheck = ...

Running a script with the help of GRUB and menu.lst?

Can't I run myScript by appending a line to the entry of Linux in /boot/grub/menu.lst as: title Ubuntu 9.04, kernel 2.6.28-11-generic uuid b20f1720-b3f5-4162-bc92-ab2deb8d5d04 #kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=b20f1720-b3f5-4162-kernel/boot/vmlinuz-2.6.28-11-generic root=UUID=b20f1720-b3f5-41...

Subversion commands not being run by Ubuntu rc.local

Here is my rc.local for an autoscaling amazon ec2 instance based on ubuntu: (Note that user names, domains, and paths have been changed for security purposes) logger "Begin rc.local startup script:" logger "svn checkout" sudo -u nonRootUser /usr/bin/svn co svn+ssh://[email protected]/path/to/repo /var/www/html | logger logger "chown ...

Simple startup on boot of misc application (Java based) on Ubuntu Linux 8+ as a daemon

What is the easiest way to have an application launch at startup on Ubuntu server as daemon? This is a java application (java com.run.run.Run) etc. How would I have it launch as a user and possibly have access to write to some log file where the user has permissions to write? And if I don't end up doing that, how would I launch the app...

Deleting email automatically

Hey Guys, The Problem: I'm looking for a way to create a program that visits an email host site and log in with a specific credentials and deletes all message at the Inbox and clears the Trash folder. Background: I have an email with my domain and that email is hosted on some ISP server. However I have enabled auto-forward all my ema...