Commit 438a74ee authored by Mikaël Salson's avatar Mikaël Salson Committed by Vidjil Team
Browse files

web2py/scripts: Shell script to launch web2py scripts (with parameters, if needed)

parent 1665a445
if [ $# -eq 0 -o "$1" == "-h" -o "$1" == "--help" ]; then
echo "Usage: $0 <python script>
Launches the python script (just indicate the basename, the script
must be put in the script directory)"
exit 1
sudo -u www-data python ../../../ -S vidjil -M -R "applications/vidjil/scripts/$script_name" -A $*
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment