Last modified October 31, 2024

Clone Hook

List of arguments returned from pre/post clone hooks.

Pre Clone Hook Args

Pre Clone
Argument Index Value Possible Values
$1 Clone Job ID N/A
$2 Clone Job Name N/A
$3 Clone Job Type
  • 1 - Accounts
$4 Clone Job Contains: Bitwise Value - Full Account: 511 = 1 + 2 + 4 + 8 + 16 + 32 + 64 + 128 + 256
  • 1 - Account Panel Config
  • 2 - Account Home Directory
  • 4 - Account Databases
  • 8 - Account Email
  • 16 - Cron Jobs
  • 32 - Accounts Domain
  • 64 - Account Certificates
  • 128 - Database Users
  • 256 - FTP Accounts
  • 511 - Full Account
$5 Clone Job Destinations: All Destination IDs are seperated by a comma ,. N/A
$6 Clone Start Date (EPOCH Time) N/A
$7 Clone Log ID N/A

Post Clone Hook Args

Post Clone
Argument Index Value Example
$1 Clone Job ID N/A
$2 Clone Job Name N/A
$3 Clone Job Type
  • 1 - Accounts
$4 Clone Job Contains: Bitwise Value - Full Account: 511 = 1 + 2 + 4 + 8 + 16 + 32 + 64 + 128 + 256
  • 1 - Account Panel Config
  • 2 - Account Home Directory
  • 4 - Account Databases
  • 8 - Account Email
  • 16 - Cron Jobs
  • 32 - Accounts Domain
  • 64 - Account Certificates
  • 128 - Database Users
  • 256 - FTP Accounts
  • 511 - Full Account
$5 Clone Job Destinations: All Destination IDs are seperated by a comma ,. N/A
$6 Clone Start Date (EPOCH Time UTC) N/A
$7 Clone End Date (EPOCH Time UTC) N/A
$8 Clone Status (Queue Object Status)
  • 1 - Pending
  • 2 - Processing
  • 100 - Completed
  • 101 - Partially Completed
  • 102 - Failed
  • 103 - Aborted
  • 104 - Never Finished
$9 Clone Log ID N/A