79089254

Date: 2024-10-15 09:16:44
Score: 5
Natty:
Report link

Thanks to everyone who give advice. Is was cron DISPLAY variable problem. library like SFML should interact with GUI display but cron didn't in default state. So I change my cron to


DISPLAY=:0
XDG_RUNTIME_DIR=/run/user/(number from id -u)
***** /path/of/script

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Thanks to everyone who give advice
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: chobo