A cron job is created, and in the cron job contains the following code:
int flag = system("path/main");
printf("system return value: %d \n", flag);
the cron job excute every day, and the "flag" is usually "0", However sometimes "falg" is "32512".
I have google the error code, it means "command is not found".
But I need your help to enlighten me, why sometime is ok, sometimes is not. Does it matter with the relative directory "path/main"