Calling C program from cron results in no output

I can call a C program from the shell and results are outputted as normal. The C program processes some files and spits out a .csv file.

If I scheduled it in cron, there is no output.

If their a special way to schedule C programs in cron?

thanks & regards

There should be no difference to a default run, with those exceptions:

  • The run directory is the $HOME of the UID it's running under (eg. if it's running as root the script is started in /root/ in Linux)
  • Any output to stdout/stderr is captured and sent via email, except if email delivery is turned off, then it's discarded
  • Input from the user isn't possible as there's no TTY connected