SHELL variable is changed from when sheduled task is edited.

Refers to:

  • Plesk 12.5 for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Created:

2016-11-16 12:43:06 UTC

Modified:

2016-12-21 19:03:04 UTC

0

Was this article helpful?


Have more questions?

Submit a request

SHELL variable is changed from when sheduled task is edited.

Symptoms

When Plesk user changes any scheduled task, ' SHELL ' variable is changed from ' /bin/sh ' to ' /usr/local/psa/bin/chrootsh '. It causes some scheduled tasks to fail, as it is not possible to get access to system binaries.

Cause

This is Plesk internal issue PPPM-744 , which is expected to be fixed in future Plesk updates.

Workaround

Use ' domain ' utility to change ' SHELL ' variable:

#/usr/local/psa/bin/domain -u example.com -shell '/bin/sh'
Have more questions? Submit a request
Please sign in to leave a comment.