Questions tagged [startupscript]
158 questions
0
votes
1 answer
How to determine weblogic server startup?
I am trying to write a script that will run and send a notification email regarding a successful server restart, however, how should i do so in the best way?
Weblogic 8.1

Oh Chin Boon
- 23,028
- 51
- 143
- 215
0
votes
1 answer
FreeBSd rc.d source another file
On startup I manually run source /usr/local/etc/credentials.sh.
I've made a script /usr/local/etc/rc.d/load_credentials to run command for me at start-up. However the script does not succeed:
$ /usr/local/etc/rc.d/load_credentials start
eval:…

DannyDannyDanny
- 838
- 9
- 26
0
votes
1 answer
Run a python script from the startup script
An instance is created when a new file is uploaded to the storage. The startup runs a python script that generates a pdf file for the new file, uploads the pdf back to the storage and deletes the instance. Since the python script has pretty lengthy,…

Jasmine
- 476
- 3
- 22
0
votes
1 answer
Load and Store Web Files in a Startup-Script on Google Cloud Platform when using an Instance Template
I am trying to set up a Load Balancer on GCP which deploys new VMs with a copy of my application when the health check fails. Is using the startup script a safe solution for deploying copies of my application on the VM?
My thought is to host a…

epool
- 266
- 1
- 13
0
votes
1 answer
Error: CallDepthOverflow when running Powershell startup scripts using Group Policy
I am trying to run a powershell script using Startup in a Group Policy. I have mapped the script in Powershell Scripts Tab under Startup section of the GPO. The script contains a one liner command to set the TimeZone information. Below is the…

Rajiv Iyer
- 107
- 1
- 4
- 11
0
votes
0 answers
working directory of a notebook run by startup script is not its real path, but '/'
I have a notebook instance with a startup script that uses papermill to execute a notebook.
The problem is that the working directory is '/' and not the path of the file. How do I get the path of the file so I can set it as the working…

Rony Tesler
- 1,207
- 15
- 25
0
votes
0 answers
Commands from Autostart Script interfere with eachother
I am trying to write a python script on an AWS server, which should be started at every boot of the server. The purpose is to change several files, which use the current public IP address. Afterwards four programs should…

spadel
- 998
- 2
- 16
- 40
0
votes
1 answer
Unable to mount an external persistent disk as part of startup script in Google compute engine
I am trying to mount my external persistent disk using the command:
sudo mount -o discard, defaults /dev/sdb /mnt/working
what I want to do is to make it part of the startup script as I start my VM. I followed the instructions as per the link:…

sunny
- 643
- 2
- 11
- 29
0
votes
1 answer
Google Cloud VM startup script fails to install pip3
I'd like to pass a startup-script to my free f1-micro instance VM in GCP. The command that I'm specifying is the following:
gcloud compute instances create dora-scanner --zone=us-central1-a --machine-type=f1-micro --metadata-from-file…

sir_chocolate_soup
- 379
- 2
- 14
0
votes
2 answers
How to run python script on start up of pc but only once in day?
I have created a python script which do birthday wish to a person automatically when birthdate is arrive. I added this script on window start up but it run every time when i start my pc and do birthday wish to person also. I want to run that script…

Smit Parmar
- 178
- 2
- 11
0
votes
3 answers
Execute code inside batch opened terminal
I’m writing a startup script for a kdb process (but I don’t think the type of process matters, could just as easily be python). I want the script to run my q file, and then inside the terminal, execute a line (myfunc[], for example).
Trying the -c…

PythonParka
- 134
- 3
- 13
0
votes
3 answers
Auto-run python script when system is booted on jetson nano
How to auto-run python script made by me when the system is booted on jetson nano?

Ahmed M.B
- 1
- 1
- 1
0
votes
0 answers
Cannot pull a repository (from Cloud Source Repositories) in a GCE VM startup script
I have a VM in Google Compute Engine that I want to start and stop daily - I have already written Cloud Functions for this. When the VM starts, I want it to run a startup script. In the bash startup script, I first need to pull data from git - Cloud…

hudcondr
- 1
0
votes
0 answers
Configure a Firewall and a Startup Script with Deployment Manager template
I want to configure a Firewall and a Startup Script with Deployment Manager template in .yaml file
Below are the steps I need to perform
A new Deployment Manager deployment has been created
The deployment includes a virtual machine that has an…

Ishuta W
- 1
- 4
0
votes
1 answer
Visual Studio 2017 Server Code upon starting makes a call to a controller I don't want
Visual Studio 2017 - I inherited code for a server. Sits on an IIS port 60480 and waits for a call to a controller. At least that is what it is supposed to do.
When I press the green arrow next to Server (on the right), it starts and runs one of…

Yogi Bear
- 943
- 2
- 16
- 32