Trigger Email Send After Cron Job Finished -


i have cron file contain

# edit file introduce tasks run cron. # # each task run has defined through single line # indicating different fields when task run # , command run task # # define time can provide concrete values # minute (m), hour (h), day of month (dom), month (mon), # , day of week (dow) or use '*' in these fields (for 'any').# # notice tasks started based on cron's system # daemon's notion of time , timezones. # # output of crontab jobs (including errors) sent through # email user crontab file belongs (unless redirected). # # example, can run backup of user accounts # @ 5 a.m every week with: # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/ # # more information see manual pages of crontab(5) , cron(8) # # m h  dom mon dow   command  mailto="myemail@gmail.com" * * * * * php /home/forge/biossantibodies/artisan products:exportdiff --env=development * * * * * php /home/forge/biossantibodies/artisan images:exportdiff --env=development * * * * * php /home/forge/biossantibodies/artisan publications:exportdiff --env=development * * * * * mailx -s "cronjob run successfully" bunlong@gmail.com 

i want send email me after cron job ran.


i've tried

mailto="myemail@gmail.com" 

and

* * * * * mailx -s "cronjob run successfully" myemail@gmail.com 

and never received emails, looked in spam folder well, noticed task between them work.


question

how 1 go , configure ?


i'm opening suggestions @ moment.

any hints / suggestions / helps on appreciated !


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -