Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Environment variables for Crontab

Featured Replies

Running flexget (1.0r3016) I get these lines in my flexget.log file:

2012-07-08 18:20 WARNING  cron_env                      Your cron environment has different filesystem encoding (ANSI_X3.4-1968) compared to your terminal environment (UTF-.
2012-07-08 18:20 WARNING  cron_env                      Your current cron environment results filesystem encoding ANSI_X3.4-1968 which supports only ASCII letters in filenames.

I'm a linux noob and nothing I've found online seems to work. Can someone point me in the right direction to change the crontab environment variables in unraid please.

 

Cheers

 

Eric

  • Author

Apologies for bumping, but does anyone have any ideas.

 

The issue is recognised by flexget's developers

http://flexget.com/ticket/801#

 

but the workarounds suggested aren't working for me.

 

I've tried:

*/<whatever> * * * *    cd ~/flexget/ && /usr/bin/env LANG="en_CA.utf8" ./bin/flexget --cron

(with appropriate paths) but I get an error in the syslog at boot for this line and the cron job doesn't run so I presume that Unraid's cron doesn't like the syntax.

 

I've also tried calling a script from cron that sets the environment variable

LANG=en_US.utf8

 

That seems to work sometimes but not all.

 

Any help would be gratefully received.

 

This is using 5.0 rc4

 

Cheers

 

Eric

  • 1 month later...

I've got the same issue and haven't found anything to fix the problem.

  • 8 months later...
  • Author

running flexget from a script that sets the environment variable does the trick, heres mine:

#!/bin/bash
export LANG=en_US.UTF-8
flexget -c /mnt/user/transmission/flexget/shows.yml --cron

hi, thank for info :)

 

im also getting this errors but anyway my flexget working correct (v1.1.3)

before read this post i dont saw this in my log, maybe because i dont look there :)

 

 

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.