v-cd-www alias

This commit is contained in:
myvesta 2024-12-02 18:35:57 +01:00 committed by GitHub
parent 82803093d6
commit 3337783666
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -2064,6 +2064,8 @@ echo "================================================================"
# Removing old PHP sessions files # Removing old PHP sessions files
crontab -l | { cat; echo "10 2 * * 6 sudo find /home/*/tmp/ -type f -mtime +5 -exec rm {} \;"; } | crontab - crontab -l | { cat; echo "10 2 * * 6 sudo find /home/*/tmp/ -type f -mtime +5 -exec rm {} \;"; } | crontab -
echo "alias v-cd-www='source /usr/local/vesta/bin/change-dir-www'" >> /root/.bash_profile
#----------------------------------------------------------# #----------------------------------------------------------#
# myVesta Access Info # # myVesta Access Info #
#----------------------------------------------------------# #----------------------------------------------------------#