OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: totaln00b on May 09, 2005, 11:45:52 am

Title: Struggling With Cron
Post by: totaln00b on May 09, 2005, 11:45:52 am
Hi All,

I have installed the version of vixie-cron that's on Elsi, but I can't get it to work. I have searched around on the web (and on this forum) and think I've followed all the instructions, but basically it doesn't seem to process my crontab file.  (Yes, cron is working)

I would really appreciate it if someone who uses vixie-cron on their zaurus could post some idiot-type instructions for use and installation.  Many, many thanks!

Jo
Title: Struggling With Cron
Post by: grog on May 09, 2005, 12:56:19 pm
I'd appreciate an answer to this too. As you can see in my own post (https://www.oesf.org/forums/index.php?showtopic=10137&hl=) on this, it's never really been solved. I've gone as far as to write a script that sleeps & respawns jobs for me instead of keeping up the cron fight. It's messy but it works . If noone sheds any light here & you're interested, I could be persuaded to share my work. Let's see.

(watching with baited breath...)
Title: Struggling With Cron
Post by: totaln00b on May 09, 2005, 05:18:05 pm
Hi Grog et al,

I might have answered my own question, at least for getting it to work with cacko. I read somewhere that crontab can have environment variables set in it, so I added the following lines to the top of the file:

SHELL=/bin/bash
PATH=/usr/bin:/usr/sbin

(I wasn't sure which of the paths it needed so I set both)

That seemed to work, but only if cron is run from the console- I haven't tried to set it up to run on startup yet.

Hope that helps

Jo