@olivierlambert @florent Whoops. Yes, ok. In the CLI for my docker container. It seems I didn't need to be in the xo-server folder, I needed to be in the dist subfolder. But here are my results
root@54727a77cd7a:/etc/xen-orchestra/packages/xo-server/dist# ./db-cli.mjs ls job
5 record(s) found
{ id: '886244d4-6ec3-4d76-90b1-aafb7ce2eaef', mode: 'full' }
{
id: '570366d3-558f-4e0c-85ca-cc0a608d4633',
mode: 'full',
name: 'NAS Daily',
remotes: '{"id":{"__or":[]}}',
settings: '{"8500fa4c-88e8-4c5d-85f2-3b4c67575537":{"snapshotRetention":3}}',
srs: '{"id":{"__or":[]}}',
type: 'backup',
userId: '2c7dcd77-8e98-43b4-8311-ebe81b2bb3c0',
vms: '{"id":"b4b08d92-bb02-c02e-bbd7-fd5ed2575dd5"}'
}
{
id: '9dfab633-9435-4ea0-9564-b0f73749e118',
mode: 'full',
name: 'NAS 6 Hour',
remotes: '{"id":{"__or":[]}}',
settings: '{"d737f6d8-734c-4c7e-aac7-09fe8e59e795":{"snapshotRetention":3}}',
srs: '{"id":{"__or":[]}}',
type: 'backup',
userId: '2c7dcd77-8e98-43b4-8311-ebe81b2bb3c0',
vms: '{"id":"b4b08d92-bb02-c02e-bbd7-fd5ed2575dd5"}'
}
{
id: 'f3ada8d2-6979-4a16-90d5-ed8fc17cbe8f',
mode: 'full',
name: 'Disaster Recovery',
remotes: '{"id":{"__or":[]}}',
settings: '{"e3129421-1ea1-4dc4-8854-b629c62b5ae1":{"copyRetention":3}}',
srs: '{"id":"b4f0994f-914a-564e-0778-6d747907ff9a"}',
type: 'backup',
userId: '2c7dcd77-8e98-43b4-8311-ebe81b2bb3c0',
vms: '{"id":"b4b08d92-bb02-c02e-bbd7-fd5ed2575dd5"}'
}
{
id: 'd9faea90-4cd5-47ef-ab92-646ac62f9b3c',
mode: 'full',
name: 'NAS Weekly',
remotes: '{"id":{"__or":[]}}',
settings: '{"b1957ab0-fd8d-4c83-ab93-27173abc4290":{"snapshotRetention":4}}',
srs: '{"id":{"__or":[]}}',
type: 'backup',
userId: '2c7dcd77-8e98-43b4-8311-ebe81b2bb3c0',
vms: '{"id":"b4b08d92-bb02-c02e-bbd7-fd5ed2575dd5"}'
}
root@54727a77cd7a:/etc/xen-orchestra/packages/xo-server/dist# ./db-cli.mjs ls schedule
{
cron: '5 5 * * 1',
enabled: 'true',
id: 'b1957ab0-fd8d-4c83-ab93-27173abc4290',
jobId: 'd9faea90-4cd5-47ef-ab92-646ac62f9b3c',
name: 'Weekly',
timezone: 'America/New_York'
}
{
cron: '0 5 * * 0,3,5',
enabled: 'true',
id: '9ae19958-f28c-4e0b-aae4-a45836428d77',
jobId: '886244d4-6ec3-4d76-90b1-aafb7ce2eaef',
name: '',
timezone: 'America/New_York'
}
{
cron: '0 0 * * 4',
enabled: 'true',
id: 'e3129421-1ea1-4dc4-8854-b629c62b5ae1',
jobId: 'f3ada8d2-6979-4a16-90d5-ed8fc17cbe8f',
name: '',
timezone: 'America/New_York'
}
{
cron: '5 11,17,23 * * *',
enabled: 'true',
id: 'd737f6d8-734c-4c7e-aac7-09fe8e59e795',
jobId: '9dfab633-9435-4ea0-9564-b0f73749e118',
name: '6 Hours',
timezone: 'America/New_York'
}
{
cron: '5 5 * * 0,2,3,4,5,6',
enabled: 'true',
id: '8500fa4c-88e8-4c5d-85f2-3b4c67575537',
jobId: '570366d3-558f-4e0c-85ca-cc0a608d4633',
name: 'Daily',
timezone: 'America/New_York'
}