|
Posted by on May 5, 2008, 9:05 am
If you were Registered and logged in, you could reply and use other advanced thread options On 2 Mag, 22:07, ibupro...@painkiller.example.tld (Moe Trin) wrote:
> On Thu, 1 May 2008, in the Usenet newsgroup comp.security.firewalls, in article
>
> r...@bcm.tmc.edu wrote:
>
> NOTE: Posting from groups.google.com (or some web-forums) dramatically
> reduces the chance of your post being seen. Find a real news server.
>
> >ibupro...@painkiller.example.tld (Moe Trin) wrote:
> >> Puss...@gmail.com wrote:
> >>> I want automatic upgrade_export.
>
> >> And what does this have to do with firewalls?
>
> >Because he is discussing an issue with Checkpoint upgrade_export
> >maybe.
>
> Barking at the wrong tree - his problem is a fundamental mis-understanding
> of the UNIX 'cron' daemon, and has nothing to do with any firewall. His
> post in this group continued:
>
> If I run commands without crontab all ok!
> With crontab run upgrade_export but does not create anything!
>
> So there is nothing wrong with the commands (what ever they may be), but
> they fail to run in his rather bizarre interpretation of what the manual
> page says for 'crontab'. That's also why (after answering his question)
> I suggested he look at an appropriate UNIX newsgroup, or comp.unix.shell.
>
> >I see he did go towww.cpug.organd asked the same question and got an
> >answer.
>
> He posted from googlegroups, and (like many) I filter those posts off
> in a number of the other newsgroups I try to scan daily, but I also
> see that he posted to (at least) 'comp.os.linux.misc' and got an answer
> similar to the one I provided - run all of the commands out of a single
> script, rather than running five independent (and unrelated) commands
> out of root's crontab.
>
> Old guy
I edit script for backup:
#!/bin/sh
. /etc/profile.d/CP.sh
cd /var/CPbackup/backups
echo | backup -d --file /var/CPbackup/backups/
scp fw_export pluto@172.29.198.23:/data/backup
exit 0
Can I exec the backup command without me being asked "Are you sure you
want to proceed?"
The command "echo |" not work !!!
Thanks
|