Hi, the -- cronjob is, i believe, only to remove the colored layout, not to remove the output, you can add >/dev/null 2>&1 to your cron, which should make the expect result you want.
Regards, Andreas Fassl escreveu: > Hm, > > probably my post wasn't clear enough. I want to UPDATE the rkhunter > db as well via cron. > > My crontab entries: > > 0 8,16,22 * * * /usr/local/bin/rkhunter --checkall --create-logfile -- > cronjob --report-mode > 0 0 1 * * /usr/local/bin/rkhunter --update > This works fine. My post was just reporting the fact, that appending > --cronjob to --update doesn't show the expected results. > > Regards > > Andreas > > Am 03.01.2007 um 10:43 schrieb Michael Mansour: > >> Hi Andreas, >> >>> Hello, >>> >>> when I try to update rkhunter via cronjob anythings fine. >>> The option --quiet doesn't remove the output, the adding of - >>> -cronjob leads into >>> # rkhunter --update --cronjob >> You should use: >> >> /usr/local/bin/rkhunter -c --quiet --cronjob >> >> This becomes silent but only outputs "BAD" values. >> >> Regards, >> >> Michael. >> >>> Rootkit Hunter 1.2.9 is running >>> >>> Determining OS... Ready >>> >>> Checking binaries >>> * Selftests >>> Strings (command) [ OK ] >>> >>> * System tools >>> Info: prelinked files found >>> Performing 'known good' check... >>> >>> Maybe something to look into for the next release? >>> >>> Best regards >>> >>> Andreas >>> >>> --------------------------------------------------------------------- >>> ---- >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to >>> share your opinions on IT & business topics through brief surveys - >>> and earn cash http://www.techsay.com/default.php? >> page=join.php&p=sourceforge&CID=DEVDEV >>> _______________________________________________ >>> Rkhunter-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/rkhunter-users >> ------- End of Original Message ------- >> > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Rkhunter-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/rkhunter-users > -- +-------------------------------------------------------------+ | Pedro Pinto | msn: [EMAIL PROTECTED] | icq: 254549005 | | AIM: PNboy81 | Sapo/Jabber: [EMAIL PROTECTED] | +-------------------------------------------------------------+ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Rkhunter-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rkhunter-users
