equal
deleted
inserted
replaced
4 |
4 |
5 -- may fail |
5 -- may fail |
6 dopath 'saved_jobs.lua' |
6 dopath 'saved_jobs.lua' |
7 |
7 |
8 function save_jobs () |
8 function save_jobs () |
9 local h = io.open ( main.config_file ( 'saved_jobs.lua' ), "w" ) |
9 local h = io.open ( main.option ( 'lua_jobs_file' ), "w" ) |
10 if not h then |
10 if not h then |
11 print ( 'Cannot open jobs file for writing!' ) |
11 print ( 'Cannot open jobs file for writing!' ) |
12 return |
12 return |
13 end |
13 end |
14 h:write ( "-- This is autogenerated file, do not edit it manually\n\ndelayed_jobs = {\n" ); |
14 h:write ( "-- This is autogenerated file, do not edit it manually\n\ndelayed_jobs = {\n" ); |