run_two_broken
run_two
run_clean_tape
+newdb
+kerns-nopython-conf
+newtape
+time.py
+time.pyc
+test.out
-EndJob.pyc
-NewVolume.pyc
-StartJob.pyc
+DirStartUp.pyc
+FDStartUp.pyc
+SDStartUp.pyc
+++ /dev/null
-import bacula
-
-def EndJob(jcr):
- jobid = jcr.get("JobId")
- client = jcr.get("Client")
- jcr.set(JobReport="Python EndJob output: JobId=%d Client=%s.\n" % (jobid, client))
- if (jobid < 2) :
- startid = bacula.run("run kernsave")
- print "Python started new Job: jobid=", startid
-
- return 1
+++ /dev/null
-import bacula
-
-def NewVolume(jcr):
- jobid = jcr.get("JobId")
- print "JobId=", jobid
- client = jcr.get("Client")
- print "Client=" + client
- numvol = jcr.get("NumVols");
- print "NumVols=", numvol
- jcr.set(JobReport="Python New Volume set for Job.\n")
- jcr.set(VolumeName="TestA-001")
- return 1
+++ /dev/null
-import bacula
-
-def StartJob(jcr):
- jobid = jcr.get("JobId")
- client = jcr.get("Client")
- numvols = jcr.get("NumVols")
- jcr.set(JobReport="Python StartJob: JobId=%d Client=%s NumVols=%d\n" % (jobid,client,numvols))
- return 1
/* */
#undef VERSION
-#define VERSION "1.37.13"
-#define BDATE "19 April 2005"
-#define LSMDATE "19Apr05"
+#define VERSION "1.37.14"
+#define BDATE "20 April 2005"
+#define LSMDATE "20Apr05"
/* Debug flags */
#undef DEBUG