service: command not found
service: command not found
Hi There. Debian 7.11 here.
I seem to be receiving emails of this effect at the start of every month:
I would guess this script is likely being ran as the wrong user, or the user needs `/usr/sbin` added to their path?
Any advice is appreciated :] Thanks
I seem to be receiving emails of this effect at the start of every month:
Can anyone help?/usr/local/vesta/bin/v-restart-web: line 21: service: command not found
I would guess this script is likely being ran as the wrong user, or the user needs `/usr/sbin` added to their path?
Any advice is appreciated :] Thanks
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: service: command not found
There may be a cron job left accidentally.
can you paste your cron list ?
from ssh, login as admin and do:
or if you have multiple vestaCP users then issue as root this command for each user
can you paste your cron list ?
from ssh, login as admin and do:
Code: Select all
crontab -l
Code: Select all
crontab -u userName -l