[Cloud] Re: Source command not working with zsh

2021-11-14 Thread Huji Lee
Again, good advice by both of you! Let me explore more and get back with any potential questions. On Sun, Nov 14, 2021 at 9:24 AM Roy Smith wrote: > This is really good advice. Any time you've got a process being run by > some tool on your behalf (cron, initd, remote job execution, etc), you're

[Cloud] Re: Source command not working with zsh

2021-11-14 Thread Roy Smith
This is really good advice. Any time you've got a process being run by some tool on your behalf (cron, initd, remote job execution, etc), you're running in an alien environment. You get so used to things "just working" when you run them interactively, you forget how much of your carefully craf

[Cloud] Re: Source command not working with zsh

2021-11-14 Thread YiFei Zhu
On Fri, Nov 12, 2021 at 6:58 PM Huji Lee wrote: > > I had the chance to try out these options. > > YiFei was right in that the scripts, when invoked by crontab after zsh was > activated, were being invoked by sh and that was why the source command was > not working. > > Using . (dot) would resol