Hello,
I wanted to create a stats-page file in / etc / cron.daily but during the execution of it I received the following email:
my file contains the following line:Code:Topic: <root@jenyfer> Cron test-x / usr / sbin / anacron | | run-parts - report / etc / cron.daily message: / etc / cron.daily / stats-site: run-parts: failed to exec / etc / cron.daily / stats-site: Exec format error run-parts: / etc / cron.daily / stats-site exited with return code 1
So I Pause following questions:Code:0 0 * * * / usr / lib / cgi-bin / awstats.pl-config = test.tux-atome
1.) Do I make my executable file-stats site? or of the 'exec format error' I suppose?
2.) Do I put my files elsewhere so that it is taken into account automatically?
If I put it in / etc / cron.d / he is not executed (no return emails)
Any help on this topic will be highly appreciated. Thanks in advance.
Bookmarks