Skip to content

Cron job fails, manual job succeeds  #85

@ecampos88

Description

@ecampos88

Hello,
When I schedule the backup job using the same configuration file, the job fails with:
***WARNING - vm not found: vm-export="
The job completes using the exact .py and .cfg files. The preview also succeeds.

This is the cron job syntax I use:
25 10 * * TUE /usr/bin/python /Snapshots/VmBackup.py mypassword \ /Snapshots/MyConfig.cfg >> /Snapshots/Backups/ScheduledVmBackup.log 2>&1

Thank you in advance for any help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions