Cron job for virtualmin transfer-domain doesn't work

3 posts / 0 new
Last post
#1 Thu, 08/27/2015 - 02:35
dakser

Cron job for virtualmin transfer-domain doesn't work

Hi, excuse me, I'm trying to schedule a cron job to run this command "virtualmin transfer-domain --domain example.com --host replica.yourdomain.com --pass XYZ --replication --output --overwrite" but the job only start if I clic on "run now" inside the "Edit Cron Job" page of virtualmin. Are there something else that I should do to make this automatically?

Thanks in advance.

Thu, 08/27/2015 - 09:04
andreychek

Howdy,

Just to be sure it's not a simple path issue (cron can be weird about paths), try using the full path to Virtualmin in your cron job... so rather than just "virtualmin", try using "/usr/sbin/virtualmin" and see if that helps.

-Eric

Fri, 08/28/2015 - 13:41
dakser

Hi Eric, thanks for your advice, it's working now.

Topic locked