SOLVED Cron Job Question

Status
Not open for further replies.

nattan

Explorer
Joined
May 19, 2013
Messages
57
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:
Code:
jexec [Jailname] find mnt/ -name '*.rar' -execdir unrar e -o- {} \;
incase anyone was wondering.
 
Last edited:
Status
Not open for further replies.
Top