troubleshooting Question

Crontab running every hour at 10 minutes

Avatar of libertyforall2
libertyforall2Flag for United States of America asked on
Unix OSNetworking
15 Comments1 Solution1129 ViewsLast Modified:
Ok. I am trying to set up a crontab. I am also trying to view the crontab in emacs.
I entered the command
 echo '10 * * * * /bin/sh /home/uila3/rhuff/doh/ | crontab' 
. I was trying to run the script every hour on minute 10. When I entered the command I simply got the command line prompt with no output. When I ran the crontab -l command I get the command line prompt again. There is no error message. I then try to see if I can edit crontab in emacs by entering emacs crontab and the emacs editor pops up with a blank screen but it says [new file]. How can I see if my existing command is set  up? I have two seperate servers and on one server the crontab -l works fine but on the other it simply gives me a blank promt i.e.

uila% crontab -l
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 15 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 15 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros