US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > General technical discussion


Reply
 
Thread Tools
Old 12-04-2012, 09:00 AM   #1
Member
 
Join Date: Jul 2004
Posts: 77
bakon
Send a message via ICQ to bakon
Default Execute an script when backup is done

How could I execute a shell script when "pbackup" finish?

Thank you.
bakon is offline   Reply With Quote
Old 12-05-2012, 09:21 AM   #2
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

Hello,
the easiest way to run this - change command in crontab and add command such as
Code:
00      0       *       *       *       /usr/local/ispmgr/sbin/pbackup backup 1 ; /root/script.sh
slava is offline   Reply With Quote
Old 12-06-2012, 02:40 AM   #3
Member
 
Join Date: Jul 2004
Posts: 77
bakon
Send a message via ICQ to bakon
Default

Thank you.
bakon is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:12 AM.