Ubuntu

cron job doesn't output to nohup.out

僤鯓⒐⒋嵵緔 提交于 2021-02-07 05:06:01
问题 i have start.sh bash script that is running though CRON JOB on ubuntu server start.sh contains bellow mentioned lines of code path of start.sh is /home/ubuntu/folder1/folder2/start.sh #!/bin/bash crawlers(){ nohup scrapy crawl first & nohup scrapy crawl 2nd & wait $! nohup scrapy crawl 3rd & nohup scrapy crawl 4th & wait } cd /home/ubuntu/folder1/folder2/ PATH=$PATH:/usr/local/bin export PATH python init.py & wait $! crawlers python final.py my issue is if i run start.sh my myself on command

cron job doesn't output to nohup.out

六月ゝ 毕业季﹏ 提交于 2021-02-07 05:05:24
问题 i have start.sh bash script that is running though CRON JOB on ubuntu server start.sh contains bellow mentioned lines of code path of start.sh is /home/ubuntu/folder1/folder2/start.sh #!/bin/bash crawlers(){ nohup scrapy crawl first & nohup scrapy crawl 2nd & wait $! nohup scrapy crawl 3rd & nohup scrapy crawl 4th & wait } cd /home/ubuntu/folder1/folder2/ PATH=$PATH:/usr/local/bin export PATH python init.py & wait $! crawlers python final.py my issue is if i run start.sh my myself on command

cron job doesn't output to nohup.out

懵懂的女人 提交于 2021-02-07 05:04:01
问题 i have start.sh bash script that is running though CRON JOB on ubuntu server start.sh contains bellow mentioned lines of code path of start.sh is /home/ubuntu/folder1/folder2/start.sh #!/bin/bash crawlers(){ nohup scrapy crawl first & nohup scrapy crawl 2nd & wait $! nohup scrapy crawl 3rd & nohup scrapy crawl 4th & wait } cd /home/ubuntu/folder1/folder2/ PATH=$PATH:/usr/local/bin export PATH python init.py & wait $! crawlers python final.py my issue is if i run start.sh my myself on command

How to see what version of Binutils is on Ubuntu?

╄→尐↘猪︶ㄣ 提交于 2021-02-07 05:02:27
问题 I have searched, but not found an option that tells me what version of binutils I have on My Ubuntu. Or at least I don't know how to interpret it. gcc -v - tells nothing about binutils ld -v - tells me GNU ld (GNU Binutils for Ubuntu) 2.24 . Does this means that I have binutils 2.24? 回答1: Yes, with ld -v you can view the version of binutils (in your case is 2.24) 回答2: I tested it only with the Debian 8, but I think it must be working with other Debian-based operation systems (Ubuntu, Mint,

When conda install django, PermissionError(13, 'Permission denied')

拥有回忆 提交于 2021-02-07 02:05:21
问题 When I run conda install django , I get the following error: Solving environment: done ==> WARNING: A newer version of conda exists. <== current version: 4.4.10 latest version: 4.4.11 Please update conda by running $ conda update -n base conda ## Package Plan ## environment location: /opt/anaconda/anaconda3 added / updated specs: - django The following NEW packages will be INSTALLED: django: 2.0.2-py36hd476221_0 Proceed ([y]/n)? y Preparing transaction: done Verifying transaction: done

Setting up virtual host on XAMPP

亡梦爱人 提交于 2021-02-07 00:00:58
问题 I've installed XAMPP on Ubuntu in '/opt/lampp' directory and would like to set up some VirtualHosts. Apache Virtual Host tutorial instructs to place <VirtualHost *:80> ... </VirtualHost> code in '/etc/apache2/sites-available/[virtualhostname].conf'. The problem is that I don't have 'apache2' folder in '/etc'. I also don't have 'sites-available' directory in '/opt/lampp/apache2'. I have '/opt/lampp/etc/httpd.conf' and '/opt/lampp/etc/extra/httpd-vhosts.conf' files though. Which ones shall I

Setting up virtual host on XAMPP

故事扮演 提交于 2021-02-07 00:00:17
问题 I've installed XAMPP on Ubuntu in '/opt/lampp' directory and would like to set up some VirtualHosts. Apache Virtual Host tutorial instructs to place <VirtualHost *:80> ... </VirtualHost> code in '/etc/apache2/sites-available/[virtualhostname].conf'. The problem is that I don't have 'apache2' folder in '/etc'. I also don't have 'sites-available' directory in '/opt/lampp/apache2'. I have '/opt/lampp/etc/httpd.conf' and '/opt/lampp/etc/extra/httpd-vhosts.conf' files though. Which ones shall I

Setting up virtual host on XAMPP

别说谁变了你拦得住时间么 提交于 2021-02-06 23:58:35
问题 I've installed XAMPP on Ubuntu in '/opt/lampp' directory and would like to set up some VirtualHosts. Apache Virtual Host tutorial instructs to place <VirtualHost *:80> ... </VirtualHost> code in '/etc/apache2/sites-available/[virtualhostname].conf'. The problem is that I don't have 'apache2' folder in '/etc'. I also don't have 'sites-available' directory in '/opt/lampp/apache2'. I have '/opt/lampp/etc/httpd.conf' and '/opt/lampp/etc/extra/httpd-vhosts.conf' files though. Which ones shall I

WSL - GEDIT Unable to init server: Could not connect: Connection refused [closed]

﹥>﹥吖頭↗ 提交于 2021-02-06 22:05:57
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 8 months ago . Improve this question I'm using Ubuntu 18.04 as Windows Subsystem for Linux on my Windows 10 machine. I've installed gedit without any errors or warnings. But whenever I try to use the command gedit something (here something is a filename) I get this error: Unable to init server:

WSL - GEDIT Unable to init server: Could not connect: Connection refused [closed]

房东的猫 提交于 2021-02-06 22:01:23
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 8 months ago . Improve this question I'm using Ubuntu 18.04 as Windows Subsystem for Linux on my Windows 10 machine. I've installed gedit without any errors or warnings. But whenever I try to use the command gedit something (here something is a filename) I get this error: Unable to init server: