GradeAdapter CronJob Restart

I'm writing a cronjob that restarts the GradeAdapter on a daily basis.

After starting GradeAdapter (rungradeadapter), it doesn't fully start and seems to hanging there in my cronjob. Any suggestions on what should be in my shell-script to get it past this point?

thanks

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Profile

If it runs properly when executed from within an interactive shell, but doesn't work from within a cron job, then suspect the environment variables. Check the ~/.profile file for the user who is running the cronjob.

env variables & nohup

yeah, it was variables-- was able to discover this by looking having the shell nohup the rungradeadapter command.

I think I'll leave the nohup on there anyway, because the GA-script itself doesn't do a good job of putting itself in the background.

Looking good now!

Syndicate content