This commit is contained in:
parent
2891d7dc6e
commit
2991cbaf01
1 changed files with 5 additions and 1 deletions
6
start.sh
6
start.sh
|
@ -63,7 +63,11 @@ if [ ! -e /srv/.vimrc ]; then
|
|||
fi
|
||||
|
||||
# Crontab
|
||||
test ! -e /srv/conf/crontab && touch /srv/conf/crontab
|
||||
if [ test ! -e /srv/conf/crontab]; then
|
||||
echo 'PATH=/srv/bin/primary_tech:/srv/bin/primary_tech/sbin:/srv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/bin:/sbin:/srv/bin/primary_tech:/srv/bin/primary_tech/sbin:/srv/bin:/srv/bin/active_bun:/srv/bin/active_deno:/srv/bin/active_golang:/srv/bin/active_node:/srv/bin/active_openjdk:/srv/bin/active_php:/srv/bin/active_python:/srv/bin/active_ruby' > /srv/conf/crontab
|
||||
echo "" >> /srv/conf/crontab
|
||||
echo "" >> /srv/conf/crontab
|
||||
fi
|
||||
if [ -e /srv/conf/crontab ]; then
|
||||
crontab -u app /srv/conf/crontab
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue