Quantcast
Channel: Running a bash script from a cronjob fails with "No such file or directory" - Stack Overflow
Browsing latest articles
Browse All 4 View Live

Answer by elnegro ElNegroRos ros for Running a bash script from a cronjob...

additionally, the directory can be defined to be added automaticallyscript_dir=$(dirname $0)#file_importssource $script_dir"/functions.sh"

View Article



Answer by Neonit for Running a bash script from a cronjob fails with "No such...

activate and deactivate are probably scripts located somewhere an entry in your $PATH variable points to. Usually, software installed locally for one user adds statements to your .profile file or...

View Article

Answer by raizsh for Running a bash script from a cronjob fails with "No such...

Since the cron does not run from the directory in which anaconda is installed, it is unable to find activate. Also your path seems to be missing the root anaconda directory.Find the location of the...

View Article

Running a bash script from a cronjob fails with "No such file or directory"

I'm trying to run the following bash script which runs a Python program after activating a conda environment.send.bash#!/bin/bashsource activate manage_oam_userspython ~/path/to/script/send.pysource...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images