Best thing is to pull up the man page on the box you're working on. Not all
installations are the same.
Indeed, looking up the crontab on my OI box, 7 doesn't exist. It is 0-6 with
0=Sunday)
Other things that are worth checking is the location of some options.
On some boxes some options like r
On Wednesday, 26 January, 2011 13:31, "ann kok" said:
> Hi
>
> I am trying "crontab cron1.txt" and have error as
>
> root@opensolaris:~/ann# crontab cron1.txt
> 0 0 * * 7 /root/ann/deletelog.sh >/dev/null 2>&1
> crontab: error on previous line; number out of bounds.
> crontab: errors detected i
On Wednesday, 26 January, 2011 13:31, "ann kok" said:
> Hi
>
> I am trying "crontab cron1.txt" and have error as
>
> root@opensolaris:~/ann# crontab cron1.txt
> 0 0 * * 7 /root/ann/deletelog.sh >/dev/null 2>&1
> crontab: error on previous line; number out of bounds.
> crontab: errors detected i
Hi
I am trying "crontab cron1.txt" and have error as
root@opensolaris:~/ann# crontab cron1.txt
0 0 * * 7 /root/ann/deletelog.sh >/dev/null 2>&1
crontab: error on previous line; number out of bounds.
crontab: errors detected in input, no crontab file generated.
but it is fine in linux. What am