Advertisement
egy-mast3r

Arch Linux : Auto Rolling

Jun 4th, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3.     while read line
  4.     do
  5.  
  6.     echo "`date +%Y-%m-%d` `date +%r` `date +%A` ==>" $line;
  7.  
  8.     done
  9.  
  10.  
  11. ===================================================================================
  12.  
  13.  
  14.  
  15.  
  16.     yaourt -Syua --noconfirm | timestamp | grep "upgrading" >> /var/log/pkg_auto_updates.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement