Operating System - Linux
1756689 Members
2776 Online
108852 Solutions
New Discussion юеВ

Crontab and mandrake revisited

 
Francois Bujold
New Member

Crontab and mandrake revisited

I am having a problem (i think)with crontab. Here is my crontab line entered using the -e option
* * * * * /bin/echo "allo"
In theory this should echo allo every minutes. My cron log file do show this command at every minutes ie:
Aug 11 21:16:00 firewall CROND[10041]: (root) CMD (/bin/echo "allo")
Aug 11 21:17:00 firewall CROND[10045]: (root) CMD (/bin/echo "allo")
Aug 11 21:18:01 firewall CROND[10049]: (root) CMD (/bin/echo "allo")
Aug 11 21:19:00 firewall CROND[10053]: (root) CMD (/bin/echo "allo")
Aug 11 21:20:00 firewall CROND[10057]: (root) CMD (/bin/echo "allo")
Aug 11 21:21:00 firewall CROND[10061]: (root) CMD (/bin/echo "allo")

yet there is no "allo" showing up to the console...
any idea what's going on??
Beware of programmers who carry screwdrivers
2 REPLIES 2
I_M
Honored Contributor

Re: Crontab and mandrake revisited

Hi

* * * * * /bin/echo "allo" > /dev/console

* * * * * /bin/echo "allo" > /dev/tty1

Good luck
Sean Dale
Trusted Contributor

Re: Crontab and mandrake revisited

* * * * * wall filename

Of course this would broadcast the contents of the txt file to every console. Not sure if you would want to do that. Just another option to ponder...
Live life everyday