![]() |
Crontab?
Anyone have an insight onto a crontab on Maemo 5?
|
Re: Crontab?
this would be interesting to me, too.
|
Re: Crontab?
Interesting. subscribed.
|
Re: Crontab?
See my sig... I have fcron though it requires some manual tweaking to make it work fully.
|
Re: Crontab?
The functionality can largely be replicated using libalarm though a direct cron port, which sleeps sensibly, shouldn't really be a problem.
|
Re: Crontab?
Yeah fcron is such a thing. It just sleeps until it has something to do.
I'm using it to set profiles at certain times. |
Re: Crontab?
Here's the info... Some of this needs to be improved for sure. But for now it works.
deb https://repo.codemages.net/opt ./ apt-get install fcron What you need to do manually: create a fcron user chown fcron:fcron /etc/fcron.* chown -R fcron:fcron /var/spool/fcron Then edit /etc/event.d/rcS-late And after initctl emit MOUNTS_OK put: /etc/init.d/fcron start |
Re: Crontab?
@ruskie thanks, I changed owner /etc.fcron.conf to root.fcron and chmod 644.
I also had to mkdir -p /scratchbox/tools/bin ln -s /usr/bin/vi /scratchbox/tools/bin/vi so that I could use fcrontab -e to add crontab-file for root I know use it to sync my calendar from my funabol-server every 10 min with syncevolution. |
Re: Crontab?
If you actually want to have it use the editor you want then simply: export EDITOR=vi
Also you can change settings in /etc/fcron.conf I believe to tell it to use a different default editor. You certainly don't need that mkdir and ln |
Re: Crontab?
|
| All times are GMT. The time now is 12:05. |
vBulletin® Version 3.8.8