Results 1 to 3 of 3
Thread: crontab help
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Oct 2010
All I have is this...
*/15 * * * * ls -l | wc -l | [filename] | mail -s "This is just a test" [email address]
I would rather not write a bash script. Is there an easier way to do this? I was looking into some commands like find and grep
Could somone show me an example?
what do you mean you don't want to write a bash script? what do you think cronjob does and how it runs? it is basically a shell script, but it can run anything from there