Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using crontab on unix shell

using putty to connect to unix server

unable to use crontab

i scheduled crontab at say * * * * * cat > new < new1

doesnt work I works only in home directory of user only not in other directory

can you help me in this

share|improve this question

migrated from Feb 8 '10 at 9:10

This question came from our site for professional and enthusiast programmers.

Please rephrase your question giving more information. What is the exact crontab line? How do you use crontab (crontab -e or you modify a specific file)? Have you tried that command? Have you tried putting it in an executable script? Is there any error in the logfiles? ...etc – lorenzog Feb 8 '10 at 9:16

Try putting full paths for the filenames.

share|improve this answer

Are you using the system-wide crontab in /etc/crontab or the user's crontab (crontab -e)? If the latter, does the user have write access to that "other directory"?

share|improve this answer

You must log in to answer this question.