ты прямо так со звёздочками и ввел чтоли?
u1***9$ /usr/bin/find /var/www/u1***9/data/www/**сайт**/systen/storage/cache/exchange1c -type f -delete
Could not open input file: /var/www/u1***9/data/www/**сайт**/systen/storage/cache/exchange1c
u1***9$ /usr/bin/rm -rf /var/www/u1***9/data/www/**сайт**/systen/storage/cache/exchange1c
Нужно выяснить как он запускается и откуда берёт переменные окружения
/usr/zte/zte_conf/scripts/zte_ntp.sh
#!/bin/sh
sntp_server0=`zte_nvc_apps r sntp_server0`
sntp_server0=${sntp_server0##*=}
sntp_server1=`zte_nvc_apps r sntp_server1`
sntp_server1=${sntp_server1##*=}
sntp_server2=`zte_nvc_apps r sntp_server2`
sntp_server2=${sntp_server2##*=}
if [ "$sntp_server0" != "" ]; then
opt_server="-h$sntp_server0"
fi
if [ "$sntp_server1" != "" ]; then
opt_server="$opt_server -j$sntp_server1"
fi
if [ "$sntp_server2" != "" ]; then
opt_server="$opt_server -k$sntp_server2"
fi
start_ntpclient()
{
# param: -l means keep runing -s means adjust time
#make it run in background, or the sh will be hang-up
#here is the list of all internet ntp server:
#210.72.145.44 xi'an 192.43.244.18 US 210.0.235.14 HK 59.124.196.84 TW 133.100.11.8 JPธฃธิด๓ัง
#the order is: -h(must be exist), -j -k -m -m
#ntpclient -h59.124.196.84 -j192.43.244.18 -k210.0.235.14 -m133.100.11.8 -n210.72.145.44 -i3600 -z$tz -s &
echo "ntpclient $opt_server -i15 -s &"
ntpclient $opt_server -i15 -s &
#add -l params if want keep interval
}
stop_ntpclient()
{
killall ntpclient 1>/dev/null 2>&1
}
if [ "$1" = "start" ]; then
start_ntpclient
elif [ "$1" = "stop" ]; then
stop_ntpclient
elif [ "$1" = "restart" ]; then
stop_ntpclient
start_ntpclient
else
echo "unknow args, you can use: start stop restart"
exit 1
fi
exit 0
#!/bin/sh
sleep 2
logfile=/usr/zte_web/web/zte_log/ping.log
echo 'Current Time and Date: '`date +%d.%m.%Y\ %H:%M:%S` >> ${logfile}
rdate time.nist.gov
sleep 2
export TZ=UTC-2
date
echo 'New Time and Date UTC: '`date +%d.%m.%Y\ %H:%M:%S` >> ${logfile}
echo '===========================================' >> ${logfile}
exit 0
export TZ=UTC-2
не применяется./etc/profile.d
Да не ставил я никакие звездочки, хорош уже прикалываться)))