I have a script that creates a cron job to take a backup of a local MongoDB. When I execute crontab -l command
, I see following:
* */1 * * * cd /home/user/shell-scripts && sh mongo-backup.sh
I previously configured the same cronjob to run every minute but then I edited it. I have restarted my machine after editing the job.
What am I doing wrong?
Thanks