Suoritettu

AWS Ubuntu Jupyter Lab Cron Job

I have a server that is on AWS and is the defualt install of Ubuntu 18.04 with deep learning packages.

It automatically has Jupyter Lab installed on the server. And typically I remote into the server and just run

"Screen

Jupyter Lab"

This obviously keeps the juptyer lab server online until some happen and I have to do a reboot. But recently I decided that I want to avoid SSH into the server and running these commands. I thought it would be easy to just set up a cron job to automatically run the command Jupyter Lab.

I ssh into the server and ran

"Crontab -e"

Then added this line to the bottom of the cron job list

"@reboot source /bin/bash; ~/anaconda3/bin/jupyter lab"

When I reboot the server jupyter lab dose restart but I noticed that it's like it does it from root rather than from ubuntu or that anacoda is not running yet.

All of the anaconda environments don't show up on the jupyter lab launcher.

Im unsure why this is happening. I have also recorded a short video going over what is happening. If someone can help me fix this I will happily compensate them.

Taidot: Linux, Amazon Web Services, Ubuntu, Järjestelmänvalvoja, Web hosting

Näytä lisää: aws cron job, cron job on localhost ubuntu, cron job python script ubuntu, aws cron job not running, how to set cron job in aws server, how to check cron job is running or not in ubuntu, run php file cron job ubuntu, add cron job ubuntu, cron job email notification ubuntu, how to run cron job in php localhost ubuntu, ubuntu cron job run python script, ubuntu cron job run php script, setup cron job ubuntu, laravel cron job ubuntu, digitalocean ubuntu cron job, ubuntu cron job, cron job ubuntu, how to schedule a cron job in aws, start cron job ubuntu, create cron job ubuntu

Tietoa työnantajasta:
( 63 arvostelua ) laveen, United States

Projektin tunnus: #28296390

Myönnetty käyttäjälle:

smaanvi007

Hello! I'm linux admin having 6+ years of experience in same profession. I’m expert in AWS, will manage/configure/install...AWS servers I have wide experience in web Hosting. Ping me for further discussion Thanks

$30 USD 1 päivässä
(42 Arvostelua)
5.3

2 freelanceria on tarjonnut keskimäärin $50 tähän työhön

anirbandutta999

Hello..I am an experienced cloud server engineer ...I can fix the issue with your jupyter lab on your AWS server .......Let me know in chat

$70 USD 1 päivässä
(38 arvostelua)
4.6