Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread: CentOS2Alma discussion
Don't know specifically through command line, but a workaround could be create a user, load the script and set crono to run it throught plesk's control panel - using this new user - where an email can be sent every time the script is run.
Can you help a bit more please on this?
To give more details from my end, the client has created a bash script to parse a log file, lookup a record and then send off a custom email to a user. They are not using php, so don't think i can suggest that to them, unless its a last option.
They want to be able to use something like this in the bash script:
mail -s 'test subject' -r '[email protected]' [email protected] < msgfile.txt
When you say they have sendmail, what do you mean here? Sendmail is not available in a chroot env. And how can they use SMTP?
Try sendEmail: http://caspian.dotconf.net/menu/Software/SendEmail/
It also allows you to specify an SMTP server and port using the -s flag. TLS can be enabled using -o tls=yes and a username and password can be set using -o username=... and -o password=... respectively.
hi
Thanks for the suggestions. Unfortunately, sendemail will not work as it needs perl :
bash: ./sendEmail: /usr/bin/perl: bad interpreter: No such file or directory
I will check out the other suggestions.
Is there any way to add command line mail via the chroot_update.sh script?
for anyone finding this forum, the answer is here http://kb.odin.com/115889
Allows you to set a server pref so that cron jobs run with access to commands outside the chrooted env.