0
votes
1answer
115 views

Declare my own script to execute file

I have two files, the first is 'ax': #!/usr/bin/env zsh print "Params: $*" cat $* And another one 'tst': #! /home/me/ax A B C When I am in sh/csh/bash shell: > ./tst ./tst: line 2: A: ...
1
vote
3answers
898 views

Change the shell for cron job

I have a zsh script that I would like to run via anacron every week. It runs fine from an interactive bash shell, but when run by anacron, I am getting command not found errors and it looks like it ...