9 lines
217 B
Bash
9 lines
217 B
Bash
#!/bin/bash
|
|
# start-cron.sh
|
|
touch /var/log/cron.log
|
|
rm -R /data/www/new/var/cache/*
|
|
rm -R /data/www/new/var/log/*
|
|
chmod -R 0777 /data/www/new/var/cache
|
|
chmod -R 0777 /data/www/new/var/log
|
|
chmod 0777 /var/log/cron.log
|