Reputation: 147
I have a crontab question:
0 6 * * * cd /path/to/file
which is supposed to execute every morning at 6:00
problem is, for some reason, it executes every minute for 60 minutes... strange.
what am I doing wrong? no other crontabs exist pointing to this file
I have researched this online and it would appeat this crontab notation is correct. thanks
Upvotes: 0
Views: 179
Reputation: 1933
Are you using some strange editor that produce weird file endings or bad character encoding? Are you absolutely sure there's whitespaces everywhere it should? This is maybe trivial and needless to say, but I have encountered likewise problems where the solutions were of that kind. Check again :-)
Upvotes: 1