I just created a cron task do a backup of a 10GB MySql file once every week. How do I test it?
Specifically it should run as the user, do the output email and error log of the cron task
I just created a cron task do a backup of a 10GB MySql file once every week. How do I test it?
Specifically it should run as the user, do the output email and error log of the cron task
You can separate the testing of your script and cron-setup this way,
Set it to run every minute, then see if it successfully runs one minute later. Once you have it working, set it back to run every week instead.