i am trying to edit crontab of remote machine is it possible ?
i am running
remsh REMOTEHOST -l REMOTEUSER crontab testcronfile
getting
crontab: can’t open your crontab file.
error
thanks for help
HP-UX
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
My guess is that the file
testcronfileis local. When you call remsh, it tries to open a remotetestcronfile, which does not exists, hence the error message 🙂You have to upload your testcronfile first.
Am I right ?
my2cents