Could you guys help me with cron and cgminer? I need a sample script that can use to start cgminer from cron
I tried many different methods but could not make it; cgminer just did not run and did not create any log output
The same script was used to start phoenix without any problem! What a headache for me

Why do you need a cron script to start cgminer? Just add it to your startup scripts. Which distribution are you using?
This machine I also need to use it for something else, not a dedicated miner.
I am using a minimal version of Ubuntu Natty; without xdm,gdm or gnome. I installed xfce4 and startx directly from rc.local
The script was running fine if I run it from terminal; but not from cron
What kind of env does cgminer need?
I set DISPLAY already (although not needed if I don't want monitoring functions); execute cgminer from full path. What else?