I dont have a cron.allow and have a blank cron.deny file.
My crontab looks like below:
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * user-name command to be executed
# test entry
* * * * * echo `who am i` > /home/2125/RR_Dev_Code/ETL/crontab.test
But, this is not writing the user to the test file. The file gets created which means cron gets fired for my user.
When i execute a who am i
from CLI, it returns a valid user.
Am i missing something here ?