Author Topic: Struggling With Cron  (Read 2121 times)

totaln00b

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Struggling With Cron
« 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
CL 860, cacko  1.23 full, Sandisk 512Mb CF, Kodak 256Mb SD, Symbol Spectrum24 wifi
SL 5500, standard rom, 256Mb SD, CF GPS

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
Struggling With Cron
« Reply #1 on: May 09, 2005, 12:56:19 pm »
I'd appreciate an answer to this too. As you can see in my own post 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...)
GROG!

totaln00b

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Struggling With Cron
« Reply #2 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
CL 860, cacko  1.23 full, Sandisk 512Mb CF, Kodak 256Mb SD, Symbol Spectrum24 wifi
SL 5500, standard rom, 256Mb SD, CF GPS