My goal is to run a Julia script from crontab.
For this I need to be able to activate the correct Julia environment from the command line. I’m not sure how to do this.
A possible solution I’ve found is to add code to the startup.jl such as:
using Pkg if isfile("Project.toml") && isfile("Manifest.toml") Pkg.activate(".") end
Is this an appropriate/best solution?