maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Automatic Muting via cron (https://talk.maemo.org/showthread.php?t=20966)

alephito 2008-06-25 11:28

Re: Automatic Muting via cron
 
Quote:

Originally Posted by t24 (Post 195409)
actually it seems to be in /var (chinook)

And what do you have in /tmp/crontab.3312 ?

t24 2008-06-25 11:36

Re: Automatic Muting via cron
 
Quote:

Originally Posted by alephito (Post 195528)
And what do you have in /tmp/crontab.3312 ?

There's no cron related files in /tmp :confused:

alephito 2008-06-25 12:11

Re: Automatic Muting via cron
 
Quote:

Originally Posted by t24 (Post 195409)
===========
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.3312 installed on Wed Jun 25 13:33:30 2008)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
35 13 * * * /usr/sbin/reboot
===========

I think there is (I am a newbie to Linux, I might be wrong). And look at what I quote from your file.

t24 2008-06-25 14:33

Re: Automatic Muting via cron
 
Quote:

Originally Posted by alephito (Post 195548)
I think there is (I am a newbie to Linux, I might be wrong). And look at what I quote from your file.

# (/tmp/crontab.3312 installed on Wed Jun 25 13:33:30 2008)

wtf?

No crontab.3312 in /tmp.. though there is mention of it in /var/cron/tabs/root ...

A problem with my config?

cybergypsy 2008-06-26 08:00

Re: Automatic Muting via cron
 
DistantFire asked me :-

Quote:

Default Cron & Aumix
I've been following your thread on Aumix and cron with great interest. I'd love to set up some cronjobs on my IT like the muting and/or the LED disabling during night hours.
Problem: I'm not a Linux or even Unix guru. I've never set up a chron job, never installed except from deb files, never did anything with tar.
2nd Problem: I tried to install cron (tar method), and can't tell if I succeeded or not.
3rd Problem: I tried to install aumix and got an "incompatible application" error message.
Is there some other s/w I need to install first ... like GTK or something? (I don't know what GTK is.)
I don't want to trash the forum with my petty problems, so I thought I'd ask you...
thanks,
DF
__________________
IT: N800 / Chinook
PC: Windows XP
Cell: LG Fusic (Sprint)
MP3: Insignia NS-DV4G or IT/Canola

So I have created a wiki page on wiki.maemo.org detailing the whole procedure.

BoxOfSnoo 2008-06-26 14:45

Re: Automatic Muting via cron
 
A couple of modifications should be made to the detailed procedure...

if you copy to an external memory card, it's probably going to be FAT or FAT32. chmod probably won't do anything.

I suggest that a) it either be temporarily copied to root's home directory and done from there or b) explicitly passed to the interpreter (probably the best choice) as in:
# sh /media/mmc2/cron/INSTALL

Are there any other problems foreseen with that?

alephito 2008-06-26 15:00

Re: Automatic Muting via cron
 
Quote:

Originally Posted by BoxOfSnoo (Post 196153)
if you copy to an external memory card, it's probably going to be FAT or FAT32. chmod probably won't do anything.

Yeah, that is what was happening to me.

Another thing I do not think is OK is the recommendation to install all Gronmayer repositories. Why not just install the required ones?

cybergypsy 2008-06-26 15:24

Re: Automatic Muting via cron
 
Thanks guys , excellent points.

Feel free to edit the wiki page and make the corrections.

BoxOfSnoo 2008-06-26 15:35

Re: Automatic Muting via cron
 
I made the change to copy it to the root folder, it seemed like the lowest impact change to make. I also changed it so you unpack on the device instead.

If you disagree, or prefer running it off the card, or whatever, feel free to re-edit.

L0cutus 2008-06-27 05:38

Re: Automatic Muting via cron
 
i've made a tar.gz of dcron 3.2 that support also:

user crontab (not only root)
/etc/cron.daily
/etc/cron.hourly
/etc/cron.weekly
/etc/cron.montly

for more info and download see here

hope it helps


All times are GMT. The time now is 12:54.

vBulletin® Version 3.8.8