backslash in crontab
From: Antoine Jacoutot (ajacoutot_at_lphp.org)
Date: 05/31/03
- Previous message: Rob: "Re: Help..can I use DUMP? my drive is dying - VINUM ?"
- Next in thread: Matthew Seaman: "Re: backslash in crontab"
- Reply: Matthew Seaman: "Re: backslash in crontab"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: freebsd-questions@freebsd.org Date: Sat, 31 May 2003 10:49:34 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi !
How can I have one big line in my crontab splitted in multiple lines ?
I tried the following:
0 2 * * * command A && \
command B && \
command C
But I get the following error message:
/tmp/crontab.48pe18LXs2: 10 lines, 1344 characters.
crontab: installing new crontab
"/tmp/crontab.48pe18LXs2":9: bad hour
crontab: errors in crontab file, can't install
Do you want to retry the same edit?
Note that if my crontab is written as:
0 2 * * * command A && command B && command C
... then it works with no problem.
Thanks.
- --
Antoine Jacoutot
ajacoutot@lphp.org
http://www.lphp.org
gpg key: http://www.lphp.org/ressources/ajacoutot.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)
iD8DBQE+2GyiY3Hnhkr+5cQRAvsLAJ4zZ9QqXyGcbe+pa8DxLISN/b1bSwCeIGyO
SkytZ2OhVdCJtrl4+8PJuRw=
=3Uxf
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: Rob: "Re: Help..can I use DUMP? my drive is dying - VINUM ?"
- Next in thread: Matthew Seaman: "Re: backslash in crontab"
- Reply: Matthew Seaman: "Re: backslash in crontab"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|