User Tools

Site Tools


This is an old revision of the document!

Q: How come my script works in shell when invoked manually but not in CRON?
In NAS4Free, CRON does not have a user profile set. When you run a script or command manually it runs using your user profile/settings/privileges, (root usually). CRONs' settings/privileges are not the same as roots'. For these reasons you should always specify full paths for all files in your scripts and verify rights and privileges for all resources.


  • –dead link {cron time based and run now difference?}
  • –dead link {SOLVED: Script cannot executed}
  • –dead link {[SOLVED] Help with permission, path, cron, script problems}.
  • –dead link {How to make and run script in Nas4Free}
  • –dead link {Shell scripting FAQ}. Where Danmero shows you how to create and run a script in NAS4Free step-by-step.
faq/0043.1353843179.txt.gz · Last modified: 2018/07/08 14:48 (external edit)