Cron Automation

OK quick post for those who requested it.

ssh to your enigma2 box

install busybox-cron

opkg install busybox-cron

Now set up your job

crontab -e

Will open the cron text editor.
Next steps need to be followed exactly as vi isn’t the most user friendly text editor

Press insert to start inputting text

Input your schedule and the command to run eg:

0 6,18 * * * /etc/enigma2/e2m3u2bouquet/ >> /tmp/e2.log


0 6,18 * * * /etc/enigma2/e2m3u2bouquet/ -m "" -e ""

press escape to exit text entering mode



to write and quit from the file, your crontab is saved.

In the above example we have scheduled the job to run at 6am and 6 pm every day (6,18)

An alternative to the above is to use

(crontab -l ; echo "0 6,18 * * * /etc/enigma2/e2m3u2bouquet/")| crontab -

This will append the job to the crontab. You’ll get a warning message if the current crontab is empty


See here for more information on cron scheduling

6 thoughts on “e2m3u2bouquet – Automation via cron job

  1. Tony Adefuye


    Is there anywhere to confirm this is working, when i go to cron manager on zgemma h2s after running these commands the box just crashes and reboots

  2. add “>> /tmp/e2m3u.log” to the end of the command
    This will create a log file in /tmp called e2m3u.log

    to view it type “cat /tmp/e2m3u.log”

  3. I’ve used this webcron service : to do it.

  4. to add this to the end of the script, >> /tmp/e2m3u.log does there need to be a space or straight after the end?

  5. Andrew Slater

    Hello is there anyway i can change the name of the bouquets when the autoscript runs? my script works prefectly but bouquets are shown as e2m3u2 id like to change to iptv if possible. When the script runs and generates bouquets

    1. If you use the config file based setup it should use the name of the provider as a prefix

Leave a Reply

Your email address will not be published. Required fields are marked *