CRONTAB - Send mail on restart
Mia Lopez
I am trying to send an email when starting my machine with crontab.
@reboot (cd /home/untitle/lab/php/initmail/ && ./initmail)
@reboot mkdir /home/untitle/testcrontabWith this configuration, the folder is created but no email is sent, the initmail script works perfectly.
I am using php for sending email, the initmail script just run the command
#!/bin/bash
php /home/untitle/lab/php/initmail/initmail.phpI also have the symbolic link present in the init.d folder but none sends.
Thanks in advance
2 Reset to default