Forum Moderators: bakedjake

Message Too Old, No Replies

Make a cron job for my Back Exec agent

         

Thomson

1:37 pm on Mar 22, 2005 (gmt 0)

10+ Year Member



Hi all!

Im using SuSe Linux 9 Enterprise Server
The only awailible Veritas agent for this OS version is from the beginning for unix system, but it works.

Anyway, is there anyone that can give me un example how to create a cron job for this agent.

I've have been trying to set up a crontab dayily to start the agent at 03:30 at night everday and stop the agent after 2 hours?
command to start and stop the agent is:
(/etc/init.d/agent.init start/stop)

Can someone give me un smart example of that?

best regards
/T

Thomson

12:49 pm on Mar 23, 2005 (gmt 0)

10+ Year Member



hm.. well i tryed this one

crontab -e

and wrote:

13 10 * * * /root/veritasstart.sh
13 15 * * * /root/veritasstop.sh

I made to scripts one that starts and stops it.
It runs when i test the script but i get "permission denied" when cron tryes to start it..?

Thomson

9:44 am on Mar 31, 2005 (gmt 0)

10+ Year Member



hm...well i guess im on my own here then :/
Would be greatfull though if anyone could give me some help.

/T