This is my first post:-)
we have developed one script to do basic LDAP healthcheck and tested. It's working fine. But have to run manually daily. I want to put that script in cron job.
So that it generates reports automatically. Can some one please give me the hit on it or any links which i could understand more easily.
this doesn't look exactly like a DS-related question, however the best option would be 'man crontab' / 'man cron' and read the man pages ;-)
But, assuming you're running Solaris 10... and you would like to run your script every day of every month of every week at 1:30 AM... you should add the following line to your crontab:
1 30 * * * /full/path/to/your/script.sh
Just to elaborate a bit more, the command to edit your crontab is usually:
And to list it:
If crontab -e isn't working, you may need to be added to the list of users allowed to use it, or you may need to set your editor:
(that's in bash)