pop icon indicating copy to clipboard operation
pop copied to clipboard

CRON: Error: could not open a new TTY: open /dev/tty: no such device or address

Open korpa opened this issue 6 months ago • 3 comments

Describe the bug When using pop within a script which runs via cron, the error message occures:

Error: could not open a new TTY: open /dev/tty: no such device or address

To Reproduce Steps to reproduce the behavior:

vi /home/user/run.sh

#/bin/bash

pop --to [email protected] -s "Hello" -b "Hello" >> /home/user/email.log 2>> /home/user/email.err

crontab -e

* *    * * *    /home/user/run.sh

Expected behavior pop runs without a tty

Desktop (please complete the following information):

  • OS: Linux

korpa avatar Aug 19 '24 10:08 korpa