When trying to create a scheduled job gives me the following error;
crontab: can’t open your crontab file.
Reviewing /etc/cron.d/cron.deny file, not appear that my user is denied;
Looking for that there is a cron file, no file associated for the sybase12 user;
sybase12@pwc/etc/cron.d#ls -lrt /usr/spool/cron/crontabs/
-rw——- 1 root sys 308 ago 6 2010 sys
-rw——- 1 root sys 190 ago 6 2010 adm
-r——– 1 root root 452 ago 6 2010 lp
-r——– 1 root sys 404 sep 29 12:55 uucp
-rw——- 1 root root 742 nov 14 11:02 root
If you are creating or editing a crontab file that belongs to root or another user you must become root.
You do not need to become root to edit your own crontab file.
Create a new crontab file, or edit an existing file.
crontab -e [username]
where username specifies the name of the user’s account for which you want to create or edit a crontab file. You can create your own crontab file without superuser privileges, but you must have superuser privileges to creating or edit a crontab file for root or another user.
HTH – Antonio NAVARRO