Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - How to execute scheduled tasks?: (6 Items)
   
How to execute scheduled tasks?  
On Linux, I can execute time scheduled task, such as shutdown at 21:30,  using cron tool. How to implement on QNX?
Thank you.

Allen
RE: How to execute scheduled tasks?  
Cron is available .

> -----Message d'origine-----
> De : Allen Chen [mailto:community-noreply@qnx.com]
> Envoyé : 22 mai 2013 05:29
> À : momentics-community
> Objet : How to execute scheduled tasks?
> 
> On Linux, I can execute time scheduled task, such as shutdown at 21:30,
> using cron tool. How to implement on QNX?
> Thank you.
> 
> Allen
> 
> 
> 
> _______________________________________________
> 
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post101591
> To cancel your subscription to this discussion, please e-mail momentics-
> community-unsubscribe@community.qnx.com

Re: How to execute scheduled tasks?  
Where is cron? I cannot find it.

于 2013/5/22 20:10, Mario Charest 写道:
> Cron is available .
>
>> -----Message d'origine-----
>> De : Allen Chen [mailto:community-noreply@qnx.com]
>> Envoyé : 22 mai 2013 05:29
>> À : momentics-community
>> Objet : How to execute scheduled tasks?
>>
>> On Linux, I can execute time scheduled task, such as shutdown at 21:30,
>> using cron tool. How to implement on QNX?
>> Thank you.
>>
>> Allen
>>
>>
>>
>> _______________________________________________
>>
>> QNX Momentics Community Support
>> http://community.qnx.com/sf/go/post101591
>> To cancel your subscription to this discussion, please e-mail momentics-
>> community-unsubscribe@community.qnx.com
>
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post101593
> To cancel your subscription to this discussion, please e-mail momentics-community-unsubscribe@community.qnx.com

Re: How to execute scheduled tasks?  
If installed, it is located /usr/sbin/cron. 

Which version of QNX are you running? You may have been presented with an option during install to include publicly 
licensed tools, I believe that cron could be one of them.
Re: How to execute scheduled tasks?  
Thank you.
I use QNX 6.5.0. Let me look for cron in  /usr/sbin.

Allen

在 2013-5-22,下午10:07,Shawn Unger <community-noreply@qnx.com> 写道:

> If installed, it is located /usr/sbin/cron. 
> 
> Which version of QNX are you running? You may have been presented with an option during install to include publicly 
licensed tools, I believe that cron could be one of them.
> 
> 
> 
> _______________________________________________
> 
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post101597
> To cancel your subscription to this discussion, please e-mail momentics-community-unsubscribe@community.qnx.com
Re: How to execute scheduled tasks?  
I found cron in /usr/sbin/. There is another question.
I add /usr/sbin/cron & command in /etc/rc.d/rc.local script file.
And execute crontab -e and add one line:
30 21 * * * shutdown -b
When the time is up, I cannot see system shutdown warning message 
displayed on console. The system is not powered off.

于 2013/5/22 22:07, Shawn Unger 写道:
> If installed, it is located /usr/sbin/cron.
>
> Which version of QNX are you running? You may have been presented with an option during install to include publicly 
licensed tools, I believe that cron could be one of them.
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post101597
> To cancel your subscription to this discussion, please e-mail momentics-community-unsubscribe@community.qnx.com
>