Forum Discussion
Thuchapon_92030
Jun 16, 2011Nimbostratus
Crontab issue
******************************************
my crontab code is;
!/bin/bash
(printf "%s\n" "Subject: subject" "To: mail@mail.com" "Content-Type: application/ucs" \
"Content-Disposition: attachment; filename=$(date +%Y%m%d)hostname.ucs" \
"Content-Transfer-Encoding: base64" ""; base64 /var/ucs/hostname.ucs) | sendmail mail@mail.com
*******************************************
please help me
- nitassEmployeehave u tried using full path to sendmail? it works for me.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects