Score:0

zipping in crontab does not work

pl flag

Im trying to zip my savegames (an push them to dropbox). However, even though zipping works fine it does not seem to work when I past the command into contab.

* * * * * cd /home/steam/.config/Epic/FactoryGame/Saved/SaveGames && zip -r Backup_$(date +"%Y_%m_%d_%I_%M").zip /home/steam/.config/Epic/FactoryGame/Saved/SaveGames

For testing purposes I will make a zip every minute. Cron runs and all the pathes seem to work.

Edit: I am running Debian 10

in flag
Well, what you do with your savegames is off topic here. Until the question is closed you can take a look at our [very helpful canonical question `Why is my crontab not working and how can I troubleshoot it`](https://serverfault.com/questions/449651/why-is-my-crontab-not-working-and-how-can-i-troubleshoot-it).
djdomi avatar
za flag
@phil just put the commands into an script, it should work
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.