I have created a systemd service like following code on my CentOS remote server that runs a Jupyter app named
scraping-cdn-plot-gavahi-aati.ipynb that plots some charts. This is the service:
[Unit] Description=Ipynb Script Service After=network.target [Service] Type=simple User=root ExecStart=/usr/bin/ipython /root/scraping-cdn-plot-gavahi-aati.ipynb Restart=on-abort [Install] WantedBy=multi-user.target
I can run the service successfully and see this result when I start the service on the server:
● ipynb-script.service - Ipynb Script Service Loaded: loaded (/etc/systemd/system/ipynb-script.service; enabled; vendor preset: disabled) Active: active (running) since Mon 2020-05-18 11:56:04 +0430; 3s ago Main PID: 22796 (ipython) CGroup: /system.slice/ipynb-script.service └─22796 /root/anaconda3/bin/python /usr/bin/ipython /root/scraping-cdn-plot-gavahi-aati.ipynb May 18 11:56:04 boiga.server1.more.com systemd: Started Ipynb Script Service.
But I don't know where should I see the plotted result?
EDIT-Note: I can connect to the server through SSH and run the above Jupyter script using this address
http://localhost:8000/notebooks/scraping-cdn-plot-gavahi-aati.ipynb(I use PUTTY on Windows 10 to do it). But what I am looking for is a way to connect a local installed application on my Windows like Spyder3 to connect to the remote server and see the plotting results.