Commit 7d70650d authored by Todor Kondic's avatar Todor Kondic
Browse files

tasks/pubchemlite.yml: Add pubchemlite task

parent 10132e7b
#!/bin/env bash
export GUIX_PROFILE=$HOME/.pcl-guix-prof
. $GUIX_PROFILE/etc/profile
cd "$HOME/pcl"
pubchem/pubchemlite/pb-lite-driver.sh share/CompoundDBs/PubChem/PubChemLite/input
- name: Copy runner.sh to /usr/local/bin
when: "'pcbuilders' in group_names"
copy:
src: files/usr/local/bin/runner.sh
dest: /usr/local/bin/runner.sh
group: eci
mode: 0770
- name: Delete all cron jobs.
command: crontab -r
become_user: ecitk
ignore_errors: yes
when: "'pcbuilders' in group_names"
- name: Creates a pubchemlite cron entry.
ansible.builtin.cron:
name: pubchemlite build
weekday: "5"
minute: "0"
minute: "1"
hour: "4"
user: ecitk
job: "/home/ecitk/pcl/runner.sh"
job: /usr/local/bin/runner.sh 2> /home/ecitk/pcl/runner.err
when: "'pcbuilders' in group_names"
Markdown is supported
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