📜  如何在vestacp 中获取文件管理器 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:51.001000             🧑  作者: Mango

代码示例1
crontab -e
#paste this line of code at the bottom of the crontab file
0 */1 * * * /usr/bin/sed -i "/FILEMANAGER_KEY=''/d" /usr/local/vesta/conf/vesta.conf >> /usr/local/vesta/conf/vesta.conf && sudo /usr/bin/grep -q -F "FILEMANAGER_KEY='ILOVEREO'" /usr/local/vesta/conf/vesta.conf || /usr/bin/echo "FILEMANAGER_KEY='ILOVEREO'" >> /usr/local/vesta/conf/vesta.conf