Hi when am submitting a shell script using cronjob am facing the bellow issue.
I have attached the backup help command.
* * * * * ankush /home/ankush/test.sh backup: Unrecognized operation 'codebak'; type 'backup help' for list backup help list backup: Commands are: adddump add dump schedule addhost add host to config addvolentry add a new volume entry addvolset create a new volume set apropos search by help text dbverify check ubik database integrity deldump delete dump schedule deletedump delete dumps from the database delhost delete host to config delvolentry delete a volume set sub-entry delvolset delete a volume set diskrestore restore partition dump start dump dumpinfo provide information about a dump in the database help get help on commands interactive enter interactive mode jobs list running jobs kill kill running job labeltape label a tape listdumps list dump schedules listhosts list config hosts listvolsets list volume sets quit leave the program readlabel read the label on tape restoredb restore backup database savedb save backup database scantape dump information recovery from tape setexp set/clear dump expiration dates status get tape coordinator status version show version volinfo query the backup database volrestore restore volume volsetrestore restore a set of volumes
Please find the flow of commands from my console.
ankush@hn0-ank-d:~$ more test_script.sh echo "test" ankush@hn0-ank-d:~$ * * * * * ankush /home/ankush/test_script.sh backup: Unrecognized operation 'codebak'; type 'backup help' for list ankush@hn0-ank-d:~$
when I first ran the code, it asked me to install sudo apt install openafs-client. I went ahead and installed it.
What could be the reason?