Cron Job Always created an Empty file

I successfully complete the cron job creation job and it was successful.
However, when I checked the file /tmp/cron_text it was always empty. Even if i write something to the file manually, when the cron job runs, it becomes empty.

What is the reason for this? Am I missing something basic?


Can you please share what cron you added exactly ?

I experience the same, although the task was successful but the the file created “cron_text” was empty. Here is the cron added

*/5 * * * * echo hello > /tmp/cron_text