![]() The mail notifcation works via "alert"-state for the notification method -> 'ERROR_MOUNT'/'ERROR_UNMOUNT' -> In the system settings of the NAS, under the notification conriguration, I configuered that system notification with alert state will send as mail to. usr/local/emhttp/webGui/scripts/notify -e "$notify_event" -s "$notify_subject" -d "Could not unmount disk!" -i "alert" usr/local/emhttp/webGui/scripts/notify -e "$notify_event" -s "$notify_subject" -d "Could not mount disk!" -i "alert" Logger Backup drive not mounted -t$PROG_NAME I have enabled SMTP Authentication in the Admin center. The link between cisco meeting server and office365 is up. usr/local/emhttp/webGui/scripts/notify -e "$notify_event" -s "$notify_subject" -d "Backup completed" -i "alert" -m "$notify_message" Dear all, i have a third party application, Cisco Meeting Server.I want to use office365 as an SMTP for outgoing mails.The client uses office365 for their smtp. Rsync -a -v "$dir" $MOUNTPOINT/ 2>&1 > $LOGFILE ![]() I just added these lines for each share I wanted to backup to the Unassigned Devices USB drive: usr/local/emhttp/webGui/scripts/notify -e "Unraid Server Notice" -s "Server Backup" -d "Could not unmount Backup" -i "normal" usr/local/emhttp/webGui/scripts/notify -e "Unraid Server Notice" -s "Server Backup" -d "Could not mount Backup" -i "normal" Logger Backup Drive Not Mounted -t$PROG_NAME usr/local/emhttp/webGui/scripts/notify -e "Unraid Server Notice" -s "Server Backup" -d "Backup completed" -i "normal" Logger Backup drive can be removed -t$PROG_NAME usr/local/sbin/rc.unassigned umount $DEVICE To use the libraries, you need to import them by using the macro scinclude. All the libraries that you have access will be listed, just select the the ones you desire to enable and use them. Rsync -a -v /mnt/user/FamVideos $MOUNTPOINT/ 2>&1 > $LOGFILE To use the Scripts, firstly you need to enable them in the applications that you want to use. Rsync -a -v /mnt/user/Movies $MOUNTPOINT/ 2>&1 > $LOGFILE Rsync -a -v /mnt/user/Videos $MOUNTPOINT/ 2>&1 > $LOGFILE Rsync -a -v /mnt/user/Pictures $MOUNTPOINT/ 2>&1 > $LOGFILE # PROG_NAME : program name of this script # OWNER : "udev" if executed by UDEV, otherwise "user" ![]() # DEVICE : partition device, e.g /dev/sda1 # MOUNTPOINT : where the partition is mounted # ACTION : if mounting, ADD if unmounting, UNMOUNT if unmounted, REMOVE if error, ERROR_MOUNT, ERROR_UNMOUNT PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin An alternative might be to create a blank application in your project and add your external code to that. ad2: not directly, only the passed variables can be used. Here is the script with my modifications for backing up four shares: ad1: yes you can, but you need to pass the variables as get or post to the external application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |