how to run script after admin backup finish

Thost

Verified User
Joined
Feb 17, 2016
Messages
12
hii ,

i want to run my script file /home/admin/backup.sh

after the full backup is finish.

how can i do that ??


thanks.

NB
i try to add user_backup_post.sh
but i got error :
<a href%3D"/CMD_FILE_MANAGER/backups/user.admin.asdasd.tar.gz">Click Here to Download the Latest Backup - user.admin.asdasd.tar.gz</a>Script output: /usr/local/directadmin/scripts/custom/user_backup_post.sh
sh: /usr/local/directadmin/scripts/custom/user_backup_post.sh: Permission denied
 
-rw-r--r-- 1 diradmin diradmin 22 Mar 16 20:35 user_backup_post.sh

-rw-r--r-- 1 diradmin diradmin 22 Mar 16 20:35 user_backup_post.sh

still got the error
 
Work Great

Thanks alot :)

the file user_backup_post.sh work just if its admin backup ??

if not which file works only after admin backup ??

thanks.
 
Back
Top