You are not logged in.
I have cronjobs running as a normal user.
#
shadyabhi@ArchLinux ~/cronjobs $ crontab -l
#CronJobs located in $HOME/cronjobs/*
0 * * * * /home/shadyabhi/cronjobs/snailmail.sh
* 5 * * * /home/shadyabhi/cronjobs/backup_pkgs.sh
* 5 * * * /home/shadyabhi/cronjobs/backup_songs.sh
shadyabhi@ArchLinux ~/cronjobs $ sudo tail -f -n 10 /var/log/crond.log
Oct 16 09:00:12 ArchLinux crond[13410]: unable to exec /usr/sbin/sendmail: cron output for user shadyabhi /home/shadyabhi/cronjobs/snailmail.sh to /dev/null
Oct 16 09:40:01 ArchLinux crond[1552]: FILE /var/spool/cron/root USER root PID 13622 job sys-hourly
Oct 16 10:00:01 ArchLinux crond[1552]: FILE /var/spool/cron/shadyabhi USER shadyabhi PID 13739 /home/shadyabhi/cronjobs/snailmail.sh
Oct 16 10:00:13 ArchLinux crond[13806]: mailing cron output for user shadyabhi /home/shadyabhi/cronjobs/snailmail.sh
Oct 16 10:00:13 ArchLinux crond[13806]: unable to exec /usr/sbin/sendmail: cron output for user shadyabhi /home/shadyabhi/cronjobs/snailmail.sh to /dev/null
Oct 16 10:40:01 ArchLinux crond[1552]: FILE /var/spool/cron/root USER root PID 14418 job sys-hourly
Oct 16 11:00:01 ArchLinux crond[1552]: FILE /var/spool/cron/shadyabhi USER shadyabhi PID 15527 /home/shadyabhi/cronjobs/snailmail.sh
Oct 16 11:00:13 ArchLinux crond[15593]: mailing cron output for user shadyabhi /home/shadyabhi/cronjobs/snailmail.sh
Oct 16 11:00:13 ArchLinux crond[15593]: unable to exec /usr/sbin/sendmail: cron output for user shadyabhi /home/shadyabhi/cronjobs/snailmail.sh to /dev/null
Oct 16 11:07:01 ArchLinux crond[1552]: reading /var/spool/cron/cron.update
^C
shadyabhi@ArchLinux ~/cronjobs $ pacman -Q | grep sendmail
sendmail 8.14.4-1
shadyabhi@ArchLinux ~/cronjobs $
Why am I getting that error?
My blog:-
http://blog.abhijeetr.com
Offline
What does the command "which sendmail" output?
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
What does the command "which sendmail" output?
shadyabhi@ArchLinux ~ $ which sendmail
which: no sendmail in (/home/shadyabhi/.scriptfarm/script:/home/shadyabhi/.scriptfarm/script:/bin:/usr/bin:/sbin:/usr/sbin:/opt/adobe-flex-sdk/bin:/opt/google-appengine:/opt/kde/bin:/opt/maven/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/lib/perl5/core_perl/bin:/opt/qt/bin)
shadyabhi@ArchLinux ~ $
My blog:-
http://blog.abhijeetr.com
Offline
The AUR package doesn't install the sendmail binary for some reason. There are quite a few comments about this on the AUR page. I just built it myself. The sendmail binary is there in the src but it doesn't get installed as part of the package. Better ask the maintainer about why this is.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
The AUR package doesn't install the sendmail binary for some reason. There are quite a few comments about this on the AUR page. I just built it myself. The sendmail binary is there in the src but it doesn't get installed as part of the package. Better ask the maintainer about why this is.
But, I have sendmail binary in /usr/sbin
shadyabhi@ArchLinux ~ $ whereis sendmail
sendmail: /usr/sbin/sendmail /usr/share/man/man1/sendmail.1.gz
shadyabhi@ArchLinux ~ $
My blog:-
http://blog.abhijeetr.com
Offline
I wonder why which doesn't know about it then? I have no ideas. You did install using pacman?
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
I wonder why which doesn't know about it then? I have no ideas. You did install using pacman?
Ya, I installed it from AUR using yaourt
My blog:-
http://blog.abhijeetr.com
Offline
I really don't know sorry. I have built the package half a dozen times, including in a clean chroot and it won't even intstall the binary into /usr/sbin for me! This is in keeping with comments on the aur page. However, you do have the binary installed.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Anyone knows how to stop crond from trying to run "sendmail" and sending an email in general?
Offline