Custom script does not work on the cron panel


I have a few scripts here located in a partition.

I also wanna add that I have been using these script before in an old hestia installation. Then when I decided to use hestia again 2 years later today, I cannot run it on the Cron tab of the panel probably due to the updates.

When I run it on terminal, there is a warning but it still runs successfully and the script works without issue…

But when I add it on the Cron tab of the panel, it doesnt work.

It says sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required

Hi @pipoy,

If you are using a normal user, then you can’t use sudo in cron jobs, Hestia doesn’t add normal users to sudoers conf file.

If you are using admin user, then this user is only allowed to run sudo commands that are located in path /usr/local/hestia/bin/

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.