Get user backup options from user_backup_pre.sh

sparek

Verified User
Joined
Jun 27, 2019
Messages
476
Is there a way to grab the full task line from /usr/local/directadmin/data/task.queue when /usr/local/directadmin/scripts/custom/user_backup_pre.sh is called?
 
The information I want is located in - /usr/local/directadmin/data/admin/task_queue_processes/XXXX/level_tracker when the task queue is run. Except I do not know the correlation between what is running and the XXXX number. It's not PID of the process.

I can probably cobble something together to get this information. I just thought there might be a more eloquent way of doing this.
 
Actually it's in

/usr/local/directadmin/data/admin/task_queue_processes/XXXX/process_info

But I'll scratch something together to make this work.
 
Back
Top