I've started the atrun daemon using the following command.
$ sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.atrun.plist
Added my username to /var/at/at.allow file.
$ cat /var/at/at.allow
myusername
And created a job using at command.
$ at now + 1 minute
touch /tmp/x.log
^D
job 1 at Fri Jan 1 09:56:00 2021
I can see the job scheduled using atq command.
But I can't see the file /tmp/x.log created after the scheduled time. Is there anything I'm missing here or is there a way to debug this issue?