Issue
I cannot for the life of me get wine to work with cron. It just straight up doesn't work. I get this error each time:
wine: '/' is not owned by you, refusing to create a configuration directory there
Note, I am running under the correct user (not attempting to run the command as root).
Does anybody know how to fix this?
Additional information, the cron entry looks something like this:
01 01 * * 1-5 username cd /prog/location; ./wineprogram.exe
EDIT2: wineprogram.exe is command line only, it does not pop up any windows, i know the cron user has no x11
Solution
Specify the $WINEPREFIX
that would be used as that user.
Answered By - Ignacio Vazquez-Abrams Answer Checked By - Robin (WPSolving Admin)