Does Crontab always work in the Background? - Raspberry Pi Forums


i have pi runs program automatically on reboot using crontab.

pleased in program sends me emails , sends output file designed when run program desktop, opens output window display data produced program.
however, using crontab, window not open , once before on forum said because cron runs in background.

possible add either crontab or program, ensure output window opened.

it runs in background limited environment. starts before gui starts.

getting gui things start cron isn't reliable. you're going need set display=:0 or display=:1 environment variable @ bare minimum.


raspberrypi



Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'