Note from 2018-11-07 08:55:23.489
crontab -u keyjoo -e
// add command
50 7 * * * keyjoo /bin/bash ~/code/scripts/hi.sh
how to see crontab log in linux
https://askubuntu.com/questions/56683/where-is-the-cron-crontab-log
/var/log/syslog
grep CRON /var/log/syslog
tail -f /var/log/syslog | grep CRON
Error:
Nov 7 09:00:01 osart-011 CRON[11205]: (CRON) info (No MTA installed, discarding output)
Need install MTA Mail Transfer Agent
g
https://askubuntu.com/questions/222512/cron-info-no-mta-installed-discarding-output-error-in-the-syslog
sudo apt-get install postfix