parent
e5ff967531
commit
bdba638725
1 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
|||
#!/bin/sh
|
||||
[ -d /etc/crontabs ] && {
|
||||
[ -d /etc/crontabs ] || mkdir -p /etc/crontabs
|
||||
|
||||
[ -e /var/spool/cron/crontabs ] && {
|
||||
mkdir -p /var/spool/cron
|
||||
crond -c /etc/crontabs
|
||||
ln -s /etc/crontabs /var/spool/cron
|
||||
}
|
||||
crond -c /etc/crontabs
|
||||
|
|
Loading…
Reference in a new issue