-c option gives error w/ cron "no equals in -c"

Go there if you encounter an unexpected error when using the softare. For installation problems, use another forum.

Moderator: feffer

-c option gives error w/ cron "no equals in -c"

Postby bryanvick » Wed Oct 21, 2009 2:58 pm

When I run this command in cron:

0 0 * * * /usr/sbin/partimage -z1 -o -d -m -B -c -s10.0.45.66 save /dev/sda1 /home/bry/backup/app/image

I Get this error:

partimage: no equals in `-c'
partimage: invalid programmed response.

Why is the -c option looking for an equals sign? Isn't it a simple flag option that does not expect an input value?
bryanvick
 
Posts: 2
Joined: Wed Oct 21, 2009 2:54 pm

SOLVED

Postby bryanvick » Tue Oct 27, 2009 3:40 pm

The problem was actually with the -B switch, which comes right after the --nocheck switch, so the error reporting was not being very helpful. I found a solution on this blog:
http://timwise.blogspot.com/2007/04/run ... -mode.html

I now have: -B Warning*=Continue

The blog will help you to decipher the utterly cryptic documentation on the -B option.
bryanvick
 
Posts: 2
Joined: Wed Oct 21, 2009 2:54 pm


Return to Unexpected errors during usage

Who is online

Users browsing this forum: No registered users and 1 guest