i-have-a-dreambox.com | Dreambox - Support

Register Calendar Members List Team Members Galerie to Portal Go to the Main Page

Boardrules Frequently Asked Questions Statistik Statistik Search Pinwand Dreambox Blog Ihad/Gemini Fan-Shop
i-have-a-dreambox.com | Dreambox - Support » ...::: Dreambox und Images Dreambox One UltraHD:::... » Allgemeines zur Dreambox One UltraHD » Crontab does not work. » Hello Guest [Login|Register]
Last Post | First Unread Post Print Page | Add Thread to Favorites
Post New Thread Post Reply
Go to the bottom of this page Crontab does not work.
Author
Post « Previous Thread | Next Thread »
twin100 twin100 is a male
Newbie


Registration Date: 24.10.2011
Posts: 24
Which box: ONE UltraHD
External Storage: USB-Stick
Which Image: DMM original

Crontab does not work. Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Ordinary crontab like OE2.5 made in /etc/cron/crontab/root does not work in OE2.6...

This post has been edited 1 time(s), it was last edited by twin100: 03.07.2019 10:04.

03.07.2019 10:00 twin100 is offline Send an Email to twin100 Search for Posts by twin100 Add twin100 to your Buddy List
__QT__
Dreambox Kaiser


images/avatars/avatar-19991.jpg

Registration Date: 03.06.2010
Posts: 3,656
Which box: DM500HD; DM7080HD; DM8000; D-Box
External Storage: USB-Stick; CF-Card; HDD; SSD
Which accessories: 2x BCM4505, Ridax USB, Qnap TS-421, SPF-107H
Which Image: Merlin
Welcher Bildschirm: Sam UE55D6500 & Tosh 46TL938G

RE: Crontab does not work. Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

"does not work" is not really an error description. WHAT does not work?

Do you have the cron service enabled and started at all? Maybe a little bit more detail and background if you want people to get interested to help you Augenzwinkern
03.07.2019 12:22 __QT__ is offline Send an Email to __QT__ Search for Posts by __QT__ Add __QT__ to your Buddy List
twin100 twin100 is a male
Newbie


Registration Date: 24.10.2011
Posts: 24
Which box: ONE UltraHD
External Storage: USB-Stick
Which Image: DMM original

Thread Starter Thread Started by twin100
Crontab does not work. Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

What do I have to start?
if i make a cron job with FPT on my dm525 in folders /etc/cron/crontab/
opens a new document that I call root and slice it into what cronjob should contain, example like this:
code:
1:
30 4 * * * /usr/bin/listup-nice.sh user password >> /tmp/cron.log 2>&1

Restart enigma2.
Then this script starts running at. 4.30 every night.
What must I do to make this work on the dreambox one with unstable original image from DMM?
03.07.2019 19:41 twin100 is offline Send an Email to twin100 Search for Posts by twin100 Add twin100 to your Buddy List
__QT__
Dreambox Kaiser


images/avatars/avatar-19991.jpg

Registration Date: 03.06.2010
Posts: 3,656
Which box: DM500HD; DM7080HD; DM8000; D-Box
External Storage: USB-Stick; CF-Card; HDD; SSD
Which accessories: 2x BCM4505, Ridax USB, Qnap TS-421, SPF-107H
Which Image: Merlin
Welcher Bildschirm: Sam UE55D6500 & Tosh 46TL938G

RE: Crontab does not work. Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Not sure what FPT should be and restart of E2 is also not needed to activate anything related to cron but the cron service has to be enabled and started:

code:
1:
# systemctl status busybox-cron
That will show you current status of the service. When INACTIVE then you can place how many files you want and nothing will ever get loaded or executed.

Enabling and starting the service:

code:
1:
2:
# systemctl enable busybox-cron
# systemctl start busybox-cron
Then you can check again its status with the appropriate command from above.

The status command will also show you from which folder crontabs are read. The one you use is not the one on my OE2.5 system:

code:
1:
2:
3:
4:
5:
6:
7:
8:
# systemctl status busybox-cron
● busybox-cron.service
   Loaded: loaded (/etc/init.d/busybox-cron; generated; vendor preset: enabled)
   Active: active (running) since Do 2019-06-27 03:30:43 CEST; 6 days ago
     Docs: man:systemd-sysv-generator(8)
  Process: 248 ExecStart=/etc/init.d/busybox-cron start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/busybox-cron.service
           └─257 /usr/sbin/crond -c /etc/cron/crontabs
03.07.2019 21:08 __QT__ is offline Send an Email to __QT__ Search for Posts by __QT__ Add __QT__ to your Buddy List
Tree Structure | Board Structure
Jump to:
Post New Thread Post Reply
i-have-a-dreambox.com | Dreambox - Support » ...::: Dreambox und Images Dreambox One UltraHD:::... » Allgemeines zur Dreambox One UltraHD » Crontab does not work.

Privacy policy | Team | Suchen | Hilfe


Powered by Burning Board 2.3.6 © 2001-2003 WoltLab GbR