cron job for binary not executing - Ask Ubuntu
i've got binary file want execute every minute. i've opened cron config file running crontab -e
, added following line:
* * * * * tutchi -logpath /home/user/path/logs/myfile.log
this did not work tried adding full path binary
* * * * * /home/user/path/bin/tutchi -logpath /home/user/path/logs/myfile.log
but still not work. know command i'm running correct because if run /home/user/path/bin/tutchi -logpath /home/user/path/logs/myfile.log
runs fine. know cron tasks working because created dummy 1 runs every minute , echos log file
i checked log file , seems alright no errors other mail server not being set up
oct 24 23:36:51 hairbuddy-notify cron[25522]: (cron) info (pidfile fd = 3) oct 24 23:36:51 hairbuddy-notify cron[25522]: (cron) info (skipping @reboot jobs -- not system startup) oct 24 23:37:01 hairbuddy-notify cron[25527]: (rodzz) cmd (/home/rodzz/hairbuddy/bin/tutchi -logpath /home/rodzz/hairbuddy/logs/tutchi.log) oct 24 23:37:12 hairbuddy-notify cron[25526]: (cron) info (no mta installed, discarding output) oct 24 23:38:01 hairbuddy-notify cron[25542]: (rodzz) cmd (/home/rodzz/hairbuddy/bin/tutchi -logpath /home/rodzz/hairbuddy/logs/tutchi.log) oct 24 23:38:13 hairbuddy-notify cron[25541]: (cron) info (no mta installed, discarding output) oct 24 23:39:01 hairbuddy-notify cron[26497]: (rodzz) cmd (/home/rodzz/hairbuddy/bin/tutchi -logpath /home/rodzz/hairbuddy/logs/tutchi.log) oct 24 23:40:01 hairbuddy-notify cron[26955]: (rodzz) cmd (/home/rodzz/hairbuddy/bin/tutchi -logpath /home/rodzz/hairbuddy/logs/tutchi.log) oct 24 23:41:01 hairbuddy-notify cron[26970]: (rodzz) cmd (/home/rodzz/hairbuddy/bin/tutchi -logpath /home/rodzz/hairbuddy/logs/tutchi.log) oct 24 23:42:01 hairbuddy-notify cron[26980]: (rodzz) cmd (/home/rodzz/hairbuddy/bin/tutchi -logpath /home/rodzz/hairbuddy/logs/tutchi.log) oct 24 23:43:01 hairbuddy-notify cron[26991]: (rodzz) cmd (/home/rodzz/hairbuddy/bin/tutchi -logpath /home/rodzz/hairbuddy/logs/tutchi.log)
Comments
Post a Comment