cron job

hi,

i have set a cron job to run build in one of the env. it shud basically stop the server,deploy the code and start the server. while starting the server the logs are getting created with the cron account id and not the normal user because of which the server is not coming up. can you please let me know the problem.

thanks in advance :slight_smile:

Put the cron job in the normal user's crontab file.

the normal user does not hv privileges to create a cron job :frowning:

you can try running it from roots cron and calling the commands/script with the su command

su - userid -c yourcommand

you will be safest pathing the su command and your commands/script

thanks tag..this works only if u want to run it once... but i need to set a cron for my command.