Scheduled Tasks Custom commandS

Post bug reports related to either the kiosk ISO or the kiosk wizard here.
Post Reply
User avatar
Debadr
Black ninja
Black ninja
Posts: 43
Joined: 28 Apr 2015, 13:39
Distribution: Porteus Kiosk Edition 3.3.0
Location: France

Scheduled Tasks Custom commandS

Post#1 by Debadr » 12 Jun 2015, 10:06

Hi all,

Does anyone knows how can i schedule custom tasks without giving them all the same time ? And also actually how to give multiple custom tasks on the wizard, that's what i tried but does not work:
Image

After the iso burned i tried to see what happens (just after the time indicated ofc) : the files are not there and seems not created at all, and when i tipe

Code: Select all

hostname the cli gives me >toto.txt as a respond  
:wall: I don't get it at all !
If you give a man a fish, he eats for a day. Teach him how to fish and he will eat forever...

User avatar
fanthom
Site Admin
Site Admin
Posts: 4547
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Scheduled Tasks Custom commandS

Post#2 by fanthom » 12 Jun 2015, 10:55

Does anyone knows how can i schedule custom tasks without giving them all the same time ?
this should work out of the box. if it does not then please show me your 'scheduled_action=' parameter from the kiosk config.

how to give multiple custom tasks on the wizard
create script containing multiple commands and run it through scheduled tasks

btw: in your sample you should use:

Code: Select all

hostname >/tmp/test.txt 2>&1
please search on google how redirection works under linux (Rava posted in also on this forum).
Please add [Solved] to your thread title if the solution was found.

User avatar
Debadr
Black ninja
Black ninja
Posts: 43
Joined: 28 Apr 2015, 13:39
Distribution: Porteus Kiosk Edition 3.3.0
Location: France

Re: Scheduled Tasks Custom commandS

Post#3 by Debadr » 15 Jun 2015, 14:25

Hi Fanthom,

Thanks for the "running script" idea :)

Actually i tested both, the one as shown in the picture and the redirection you recommended, none of them worked.

I am a little bit busy today, i will post more details tomorrow.
If you give a man a fish, he eats for a day. Teach him how to fish and he will eat forever...

Post Reply