Hi,

The file that you actually want to edit is /var/cron/tabs/root (assuming your script is to be run as root).  As far as I can tell /etc/crontab and /etc/cron/crontabs/root are ignored by the cron implementation on the gumstix.

I have been able to run various cron jobs by putting them in this file using the standard crontab format.

Andrew

P.S. This is for OE.  I have never set up cron on a buildroot-based system.

On Sat, Nov 8, 2008 at 8:35 AM, Torchris <chris.armour@rogers.com> wrote:

Has anyone been able to get cron running on your Gumstix?

thanks,

Chris


Torchris wrote:
>
> Hi Jason,
>
> Thanks for the quick reply.
>
> I have used "crontab -e" and entered the info and the task doesn't start
> running. Do I need to re-initialize cron somehow?
>
> regards,
>
> Chris
>
>
>
> Jason Axelson wrote:
>>
>> Many times you don't edit the crontab manually.  Instead use "crontab -e"
>>
>> On Fri, Nov 7, 2008 at 8:56 AM, Torchris <chris.armour@rogers.com> wrote:
>>>
>>> Hello,
>>>
>>> I have a PHP script I need to have executed regularly and I would like
>>> to
>>> know how to enable this via cron. When I look back at previous threads
>>> on
>>> this I don't think they explain it clearly.
>>>
>>> I do know how to structure the cron file and when id do "ps" I can see
>>> that
>>> cron is running. I modified the file found in "/etc/cron/crontabs", but
>>> it
>>> doesn't seem to take effect. Just a bit confusing.
>>>
>>> Supplementary bonus point question - can you turn off a cron task via a
>>> PHP
>>> script?
>>>
>>> Thanks,
>>>
>>> torchris
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Setting-up-Cron-on-Gumstix-tp20386809p20386809.html
>>> Sent from the Gumstix mailing list archive at Nabble.com.
>>>
>>>
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>> world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> gumstix-users mailing list
>>> gumstix-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> gumstix-users mailing list
>> gumstix-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>>
>>
>
>

--
View this message in context: http://www.nabble.com/Setting-up-Cron-on-Gumstix-tp20386809p20397723.html
Sent from the Gumstix mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users