Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Ubuntu cronjobs won't run
I’m trying to create backup cronjobs. When I run the same command in the console, its working. But when the cronjobs will be executed in crontab nothing happens.
/bin/tar -czf /var/backup_websites/weekly/all_websites.tar.gz /var/www
14 11 * * * /bin/tar -czf /var/backup_websites/weekly/all_websites.tar.gz /var/www
I did already change the timezone, this can’t be the problem. I think it is a problem with my permissions, but I did set permissions on 777 for the backup folders (backup_websites and weekly).
I hope someone can help me with this problem, thanks in advance.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×