4 ms·
Different crons have different rules but assuming the ubiquitous vixie cron: env - HOME=$HOME LOGNAME=$LOGNAME sh -c 'command line' Home, shell and lognam
by CraigJPerry 10y ago
Different crons have different rules but assuming the ubiquitous vixie cron:
env - HOME=$HOME LOGNAME=$LOGNAME sh -c 'command line'
Home, shell and logname are the only 3 variables guaranteed to be set.