On Sat, Aug 28, 2010 at 01:49:18PM +0200, Bernt Hansson wrote: Hell Bernt,
> I'm having problems with lines like this in cron, works on the command > line, but not in cron. > > /sbin/dump -0uan -f - /usr | gzip -2 | ssh -c blowfish \ > targetu...@targetmachine.example.com dd > of=/mybigfiles/dump-usr-l0-"`date "+%Y-%m-%d--%H-%M-%S"`".gz you need to escape the percent-signs like that: \% For why see man 5 crontab Regards Thomas _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"