Hello all,
I am trying to get a command " find mnt/ -name '*.rar' -execdir unrar e {} \; " ran under a specific jail every 5 minutes, is there anyway to do this?
I have tried running this under the CLI without a jail and using the alias command but it doesnt seem to be working for me. Any suggestions?
Edit:
after searching a lot more I found something that worked:
incase anyone was wondering.
I am trying to get a command " find mnt/ -name '*.rar' -execdir unrar e {} \; " ran under a specific jail every 5 minutes, is there anyway to do this?
I have tried running this under the CLI without a jail and using the alias command but it doesnt seem to be working for me. Any suggestions?
Edit:
after searching a lot more I found something that worked:
Code:
jexec [Jailname] find mnt/ -name '*.rar' -execdir unrar e -o- {} \;
Last edited: