• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Cron Job

J

JDwebsites

Guest
I am trying to run a cron job under root and I am getting this error message:
/bin/sh: line 1: service: command not found

The cron job is:
service --status-all | grep spamd

Can you not run service in a cron job?
 
I would try specifying the exact path to the service command
(/sbin/service --status-all | grep spamd)
 
Back
Top