commande de toutes les 5 minutes

Symfony:
php bin/console cache:clear –env=dev
php bin/console assets:install –symlink
php bin/console assetic:dump

No password login:
ssh-keygen -t rsa
cat .ssh/id_rsa.pub | ssh b@B ‘cat >> .ssh/authorized_keys’

Compress whole directory:
tar -zcvf archive-name.tar.gz directory-name

Uncompress skiping first directory

tar -xvf ZendFramework-1.7.2.tar.gz --strip 1

 

Please like & share:

Laisser un commentaire