How to create a cron job and run it ,give simpleexample
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Once it opens press i (for insert) and type the username that needs cron access.
Press esc (escsape, you will taken out of insertion mode)
Press: :wq this will write (w) the file and quit (q), don't forget the leading :
Last thing to do is to change the permissions of this file: chmod 600 /etc/deny.allow
You can cat the file to see if it is ok: cat /etc/cron.allow. You should see the user that was added.
Hope this helps.
Last edited by druuna; 12-04-2009 at 01:31 AM.
Reason: Fixed a typo (g -> q)