Notice: Constant ABSPATH already defined in /home/mcalamel/public_html/wp-config.php on line 23
Just another blog… » Blog Archive » List of the packages to update by email

I have written this small shell script in order to obtain via email the directory of the packages to update, I hope can be useful to some FreeBSD user!

—– inizio script —–
#!/usr/local/bin/bash
FILE=`ruby -e ‘print Time.now.to_i’`
pkg_version -l “< " > ${FILE}
cat ${FILE} | mail -s ‘Pacchetti da aggiornare’ user@server.tld
rm ${FILE}
—– fine script —–

Probabilmente correlato...

  • Nessun post correlato

Posted by mcalamelli in FreeBSD

Post a Comment

Probabilmente correlato...

  • Nessun post correlato