Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Forked from prontotools/woocommerce-cart-count-shortcode
Display a link to your shopping cart with the item count anywhere on your site with a customizable shortcode.
Shell
#!/bin/bash
#eseguo il backup
MESSAGE=$(/usr/bin/rsync -aAX / --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} /mnt/sda1/NomeCartella/ --stats -h)
#invio la notifica a telegram
curl -s -X POST "https://api.telegram.org/bot---telegram-key---/sendMessage" -F chat_id=---chat_id--- -F text="*Backup Automatico*: \`${MESSAGE}\`" -F parse_mode="MarkdownV2"
/***************************************
* Add this code to theme functions.php
***************************************/
/**
Seeing something unexpected? Take a look at the GitHub profile guide.