I have tried to fire a job on daily basis through crontab command but it willn't work.
i have given in the following manner:
07 19 * * * exp /user_name/passwd/ file = /path/file-name full = N owner = user-name
but it is giving error that permission denied.
i have checked that the user is a member of group but still it is giving this error.
Anybody can give me a solution. please..
-Digant
Whether last argument is file? whether it has got many command line arguments? if yes plz specify it within quotes ( the sixth argument , starts from 3 *s)
Dear Dilip Patel,
yes, this is working on promt but it is not working while given by crontab command.Please if possible, give me solution. thanks in advance.
-Digant Dave
I remember having a similar problem with a script ran out of cron - turned out because cron was run by root the script could no longer see the correct env.
The fix was to source .profile as the first line of the script, maybe you could check this out.