Crontab / Reboot
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
Good day all,
I would like to create a Crontab in order to have a few things running automatically on server reboot. Ubuntu Server 16.04 LTS. I need some help as I am a beginner, please.
Here are commands to be used (network must be available):
As user
- cd daemon/phi/
- sudo ./luxd -listen=0 -reindex=1(There should be a 16 minutes delay between this command and next one as root)
As root
- bash /home/pool/yiimp_install_scrypt/screen-scrypt.sh (There should be a
2 seconds delay between this command and next one as user)
As user
cd /var/stratum
sudo bash run.sh phi
Thank you very much in advance for any help!
command-line bash scripts cron
add a comment |Â
up vote
0
down vote
favorite
Good day all,
I would like to create a Crontab in order to have a few things running automatically on server reboot. Ubuntu Server 16.04 LTS. I need some help as I am a beginner, please.
Here are commands to be used (network must be available):
As user
- cd daemon/phi/
- sudo ./luxd -listen=0 -reindex=1(There should be a 16 minutes delay between this command and next one as root)
As root
- bash /home/pool/yiimp_install_scrypt/screen-scrypt.sh (There should be a
2 seconds delay between this command and next one as user)
As user
cd /var/stratum
sudo bash run.sh phi
Thank you very much in advance for any help!
command-line bash scripts cron
Since network is a prerequisite, crontab seems inappropriate. Try a systemd target instead, triggering a root script. You seem to need a small bit of mentoring on permissions and shell script writing to really get rolling.
â user535733
May 15 at 12:39
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Good day all,
I would like to create a Crontab in order to have a few things running automatically on server reboot. Ubuntu Server 16.04 LTS. I need some help as I am a beginner, please.
Here are commands to be used (network must be available):
As user
- cd daemon/phi/
- sudo ./luxd -listen=0 -reindex=1(There should be a 16 minutes delay between this command and next one as root)
As root
- bash /home/pool/yiimp_install_scrypt/screen-scrypt.sh (There should be a
2 seconds delay between this command and next one as user)
As user
cd /var/stratum
sudo bash run.sh phi
Thank you very much in advance for any help!
command-line bash scripts cron
Good day all,
I would like to create a Crontab in order to have a few things running automatically on server reboot. Ubuntu Server 16.04 LTS. I need some help as I am a beginner, please.
Here are commands to be used (network must be available):
As user
- cd daemon/phi/
- sudo ./luxd -listen=0 -reindex=1(There should be a 16 minutes delay between this command and next one as root)
As root
- bash /home/pool/yiimp_install_scrypt/screen-scrypt.sh (There should be a
2 seconds delay between this command and next one as user)
As user
cd /var/stratum
sudo bash run.sh phi
Thank you very much in advance for any help!
command-line bash scripts cron
edited May 15 at 12:13
asked May 15 at 12:08
Infantryman
11
11
Since network is a prerequisite, crontab seems inappropriate. Try a systemd target instead, triggering a root script. You seem to need a small bit of mentoring on permissions and shell script writing to really get rolling.
â user535733
May 15 at 12:39
add a comment |Â
Since network is a prerequisite, crontab seems inappropriate. Try a systemd target instead, triggering a root script. You seem to need a small bit of mentoring on permissions and shell script writing to really get rolling.
â user535733
May 15 at 12:39
Since network is a prerequisite, crontab seems inappropriate. Try a systemd target instead, triggering a root script. You seem to need a small bit of mentoring on permissions and shell script writing to really get rolling.
â user535733
May 15 at 12:39
Since network is a prerequisite, crontab seems inappropriate. Try a systemd target instead, triggering a root script. You seem to need a small bit of mentoring on permissions and shell script writing to really get rolling.
â user535733
May 15 at 12:39
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1036505%2fcrontab-reboot%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Since network is a prerequisite, crontab seems inappropriate. Try a systemd target instead, triggering a root script. You seem to need a small bit of mentoring on permissions and shell script writing to really get rolling.
â user535733
May 15 at 12:39