mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 05:44:07 -07:00
updating triggers
This commit is contained in:
parent
a68b6ebc3d
commit
fb176338de
1 changed files with 0 additions and 15 deletions
|
@ -1,15 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Check if there is no crontab
|
||||
if [ ! -e "/var/spool/cron" ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
# Fix ownership and permissions
|
||||
for crn_tab in $(ls /var/spool/cron/); do
|
||||
chown $crn_tab:$crn_tab /var/spool/cron/$crn_tab
|
||||
chmod 600 /var/spool/cron/$crn_tab
|
||||
done
|
||||
|
||||
exit
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue