<commit_before><commit_msg>Create scheduleCronJob.sh<commit_after>#!/usr/bin/sh
#must be run from the presidio directory

#This adds a cron job, set for reboot, that runs a (newly created) script.

#find the directory
path=`pwd`;

#make the program to be executed
echo "
#!/usr/bin/sh
sleep 20;
mysql < $path/createTables.SQL;
" > startup.sh;

chmod +x startup.sh;


#copy the existing cron file, and add a reboot event
crontab -l > tmp.cron
echo "@reboot $path/startup.sh" >> tmp.cron
echo "@hourly $path/startup.sh" >> tmp.cron

#make that the cron events.
crontab tmp.cron


{'fraction_non_alphanumeric': 0.12131715771230503, 'fraction_numerical': 0.0034662045060658577, 'mean_word_length': 4.302752293577981, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4862145', 'n_tokens_mistral': 218, 'n_tokens_neox': 206, 'n_words': 71}