Edit a startup script - Ubuntu 16.04
$40-50 USD
Dibayar semasa penghantaran
Hi,
I have a startup script that runs on new created node on [login to view URL] provider, this script installs a software on the nodes and then put on a cronjob that runs a script on the node every 60 seconds.
Once the startup script is done doing its thing, then the script on the node runs every 60 seconds.
I need these 60 seconds to be lowered to 20 seconds, or even down to 15 seconds...my main concern is that the script must have time to finish running before it gets started again. The cron runs a script that does a few checkups, you need to figure out how long that task takes to run, or put in some function that make it so that the script does not run again, while the first attempt is not finished.
I think 15-20 seconds is enough time, i just need to be sure that lowering the cron does not mess things up.
In the addition i need the startup script to create 2gig swap file on the newly created node, i normal do it this way manually:
Run this command first:
dd if=/dev/zero of=/swapfile count=2048 bs=1M && ls / | grep swapfile && chmod 600 /swapfile && ls -lh /swapfile && mkswap /swapfile && swapon /swapfile && nano /etc/fstab
Then run this :
nano /etc/fstab
In the file that opens, add the following line at the end of the file:
/swapfile none swap sw 0 0
Save and close, FINISHED
Make sure this is done on auto on new nodes that run the startup script, should be done right before the cron settings are put in.
Droplets will be running on Ubuntu 16.04 version and have 1 cpu core + 1gig ram
I will share a video that explains this in details, you will get access to one working node and
see what it runs and the scripts that i use.
I need this done asap
ID Projek: #15750281
Tentang projek
Dianugerahkan kepada:
7 pekerja bebas membida secara purata $46 untuk pekerjaan ini
fix startup script Relevant Skills and Experience ubuntu Proposed Milestones $40 USD - Help wit fixninf sturup script on ubuntu node.
HI, I can do it right away. Hope to get started it right away. Thanks Relevant Skills and Experience Over the last few years. Proposed Milestones $50 USD - kk
I can do it for you in $20. I am very good at shell scripting plus have 10 years of experience in managing Linux systems. Allow me one chance, don’t award the project until you are satisfied.